feat(registry): add kinetic center build component - #3269
Open
AksharP5 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The Catalog did not have a text effect where each new word pushes the existing phrase left and recenters the complete line. This adds Kinetic Center Build as an installable component.
Fixes #3268.
Interactive preview: https://hyperframes.dev/p/456c3191-c11c-4c1e-85fe-f6089dc03238
Why
Hyfrme already includes this Remocn effect, but using it in HyperFrames meant carrying a compiled React runtime. A native Catalog component makes the motion readable, editable, and reusable through
npx hyperframes add kinetic-center-build.How
Rebuilt the pinned Hyfrme/Remocn motion as seek-safe HTML and GSAP. The original two-second timing and centering behavior remain intact. Text, font size, entry offset, color, and weight are exposed as Catalog variables, and longer phrases shrink to stay inside the host frame.
The component retains Remocn's attribution and full MIT notice. This also adds the generated Catalog page, player payload, navigation, and registry entries.
Test plan
Validated with:
bun run buildbun run lint:registry-items kinetic-center-buildnpx hyperframes checkagainst the mounted component with 25 samples and 11 transition samplesbunx oxfmt --checkon the added source and generated filesThe browser gate reports zero runtime, layout, motion, or contrast errors. Its only warning is the expected Google Fonts advisory for Geist, which HyperFrames resolves during compilation. The pre-commit hook also notes that a maintainer will regenerate the on-device search vector before merge.
Source and license
Example
comparison.mp4