--- title: "Per Word Rise" description: "Words or characters rise into place in a controlled blur-to-sharp cascade, settle softly on landing, and hold still until the cut (optional fade or up exit)." --- import { InstallCommand } from "/snippets/install-command.jsx"; import { VariablesExplorer } from "/snippets/variables-explorer.jsx"; ```html per-word-rise.html Per Word Rise ``` ## Install That writes one file: `compositions/components/per-word-rise.html`. ## Paste it into your composition Open `compositions/components/per-word-rise.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. ## Variables Every one of these has a default, so the piece works untouched. Set the ones you want to change on the element: | Variable | Default | Accepts | What it does | | --- | --- | --- | --- | | `text` | `WORDS IN MOTION` | string | Text whose words or characters rise into place. | | `split` | `word` | `word`, `char` | Animate the text as words or individual characters. | | `cues` | `` | string | Comma-separated seconds (from mount start) for each unit landing. Empty keeps the authored cascade rhythm. | | `accent` | `green` | `green`, `blue`, `violet` | Contract accent token used for the text color. | | `exit` | `none` | `none`, `fade`, `up` | Optional departure. Default none: the line holds until the frame cuts. | Set them with `data-variable-values` on the element that mounts it. These are the defaults, so this behaves exactly like the preview above until you change one: ```html wrap
``` ## Source ```html Per Word Rise ``` {/* hf:generated-footer */} Tagged `motion-primitive` `text-effects` `typography` `stagger` `reveal`. ## Related topics - [Browse the complete Catalog](/catalog) - [Add assets and Catalog items in Studio](/studio/assets-and-blocks) - [Build a richer composition](/go-further)