SplitText
1.0.0Marketing headline that splits into characters or words and staggers each unit into view, honoring prefers-reduced-motion.
npx jabkit add split-textComponent Data
- ID
- split-text
- Category
- marketing
- Version
- 1.0.0
- Added
- 2026-09-06
- Type
- block
- Keyboard nav
- No
- Reduced motion
- Yes
marketingtextanimationheadlineherosplitstagger
Dependencies
- clsx
- tailwind-merge
Examples
Default
<div className="bg-background text-foreground">
<SplitText {...splitTextMocks.default} />
</div>Variants
<div className="bg-background text-foreground">
<SplitText {...splitTextMocks.alternate} />
</div>