RollingText
Hover decoration requires a fine pointer and hover support at widths of 768px or more. Phone and touch controls keep tap actions and keyboard focus without rollover effects.
Text that rolls each character upward on hover, staggered left to right. Pair with a motion-enabled Button.
Playground
Live preview
In buttons
Examples
Standalone
Code
import { Button, RollingText } from "@npolyhunter/ui";
// Inside a motion button — hover anywhere on the button rolls the text
<Button motion>
<RollingText text="Hover me" />
</Button>
// Any variant / preset works
<Button variant="primary" motion="lift">
<RollingText text="Get started" />
</Button>
// Standalone — hovering the text itself triggers the roll
<RollingText text="Standalone" />Used in
Includes use through shared UI components.
AppBack OfficeLanding
