Floating Text
Web (React)
A text component that floats and drifts subtly, creating an editorial, high-end feel.
A text component that floats and drifts subtly, creating an editorial, high-end feel. Use it for hero sections or decorative atmospheric text.
Editorial
Atmosphere
Floating Elements
Installation
CLI
npx @modus-ui/cli add floating-textManual
- Copy the code from the component tab.
- Create a file at
components/ui/floating-text.tsx. - Paste the code.
Usage
tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | - | The text or elements to float. |
className | string | - | Additional CSS classes for the text. |
Comments