JJabKit
Theme preference

SplitText

1.0.0

Marketing headline that splits into characters or words and staggers each unit into view, honoring prefers-reduced-motion.

npx jabkit add split-text

Component 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>