Repository navigation
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
Adds Caret Swap: a gradient caret covers one phrase, collapses left, then types its replacement. Use it for a correction, punchline, or before-and-after statement.
Fixes #3897.
1280×720, 30 fps render:
caret-swap.mp4
How
A paused GSAP timeline provides measured centering and grapheme-aware typing. Both phrases, font size and weight, text color, and gradient endpoints are Catalog variables. Text shrinks to fit; short mounts compress the phases and longer mounts extend the final hold.
Geist is bundled with its OFL license. The component retains Remocn's MIT notice and pinned source attribution. Visual reference.
This PR contains the component sources and the authored-demo preference that preserves its light background. It follows the current source-only catalog workflow: CI generates the docs, previews and search index; the catalog publication PR makes the item discoverable. After publication, install with
npx hyperframes add caret-swap.Validation
The full local typecheck hook is blocked by missing Studio dependencies in this worktree. Studio matches main exactly; CI runs with the current dependency set. The embedding model was not downloaded locally, as requested; CI handles index generation.