---
title: "SVG Stroke Trace"
description: "An authored SVG path draws from its measured length, holds with subtle drift, and optionally fills when the path is closed."
---
import { InstallCommand } from "/snippets/install-command.jsx";
import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
```html svg-stroke-trace.html
SVG Stroke Trace
```
## Install
That writes one file: `compositions/components/svg-stroke-trace.html`.
## Paste it into your composition
Open `compositions/components/svg-stroke-trace.html` and copy what is inside into your own composition.
A component has no size or duration of its own. It takes both from the composition
you paste it into.
{/* hf:generated-footer */}
Tagged `motion-primitive` `intro` `reveal` `svg` `stroke` `line-draw`.
## Related topics
- [Browse the complete Catalog](/catalog)
- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
- [Build a richer composition](/go-further)