ProText
Sweep Highlight
Geometric color blocks sweep in behind key words, and the text ink inverts right under the block.
- Plan
- Pro · commercial license
- Dependencies
- React only
- Props
- 8 (7 adjustable)
Included in Pro and Lifetime. See pricing
Design with clarity, build with craft and launch with calm.
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | string | "Design with *clarity*, build with *craft* and launch with *calm*." | The text; key words go between asterisks. |
size | number | 34 | Letter size, in px. |
colors | string[] | "[\"#FFD23F\", \"#5B7CFF\", \"#7CF5C6\", \"#FF6B57\"]" | Colors of the blocks; each key word takes one (and another, as a backup, behind it). |
duration | number | 720 | Milliseconds each block's sweep takes. |
stagger | number | 280 | Milliseconds of delay between one key word and the next. |
hold | number | 3.4 | Seconds the blocks stay before sweeping out and back in (0 = they stay). |
align | "left" | "center" | "left" | Text alignment. |
color | string | "#F4F5F7" | Text color. |
Installation
With your license
1Set up the Pro registry once
Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.
Use my license2Install Sweep Highlight
npx shadcn@latest add @furin-pro/ sweep-highlightDependencies
- React
- 18 or later
- Other libraries
- none
- License
- commercial
Pro components install into your project: the code is yours and there's nothing else to download.