Stagger Text

Use Stagger Text for a short label that responds when someone hovers it. The staggered treatment is best used as a small expressive detail, not for essential reading.

Preview

Reduce motion:Off
Inspect

Installation

Basic usage

TypeScript
stagger-label.tsx

Examples

Use the styling options to match the surrounding text. Keep the phrase short enough that the hover response remains readable.

Usage

API

PropertyTypeDefaultDescription
textstringrequiredThe text content to be displayed with staggered animation.
classNamestringAdditional CSS classes for the container.
asT"h3"The HTML tag to be used for the text container.

Accessibility

The text should communicate the same meaning without the hover effect. Avoid using it as the sole indicator of a state change.

Styling

Use className and color options to fit the component into a label, link, or compact call to action.

Contact

Found a bug or need help using this component? Open an issue on GitHub.

License & Usage

Sona UI is available under the MIT license. You may use, modify, and distribute this component in personal and commercial projects.

Was this component useful?

Your feedback helps us improve the documentation.

Related components