--- title: "Kinetic Center Build" description: "Words enter from the right and push the growing phrase left until the final line locks centered." --- import { InstallCommand } from "/snippets/install-command.jsx"; import { VariablesExplorer } from "/snippets/variables-explorer.jsx"; ```html kinetic-center-build.html Kinetic Center Build ``` ## Install That writes one file: `compositions/components/kinetic-center-build.html`. ## Paste it into your composition Open `compositions/components/kinetic-center-build.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 push left.` | string | Short phrase that builds one word at a time. | | `font_size` | `72` | 36px to 160px, step 2px | Maximum text size in pixels. Longer phrases shrink to stay inside the frame. | | `entry_offset` | `88` | 20px to 160px, step 4px | Horizontal distance each new word travels before it lands. | | `color` | `#171717` | color | Text color for the full phrase. | | `font_weight` | `600` | `500`, `600`, `700`, `800` | Weight used by every word in the phrase. | 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 Kinetic Center Build ``` {/* hf:generated-footer */} Tagged `motion-primitive` `text-effects` `kinetic-type` `reveal` `remocn-port`. Created by [Remocn](https://github.com/Remocn/remocn). ## Related topics - [Browse the complete Catalog](/catalog) - [Add assets and Catalog items in Studio](/studio/assets-and-blocks) - [Build a richer composition](/go-further)