Loading...
Installation
pnpm dlx @bucharitesh/cli@latest add split-text-effect
Examples
Example 1
Loading...
Example 2
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