Loading...
Installation
npx shadcn@latest add "https://bucharitesh.in/r/split-text-effect"
Examples
Loading...
Loading...
Props
Prop | Type | Description | Default |
---|---|---|---|
text | string | React.ReactNode | The text or React node to be displayed and split |
fill | number | The initial fill amount (between 0 and 1) for the split effect | 0.5 |
accent | string | The accent color used for the split effect and borders | "#006efe" |
className | object | Additional CSS classes to apply to the container |
Credits
- Credits to @rauno for the Split Text Effect