ProText
Torn Paper Text
A layer of paper tears away with a fibrous edge and reveals the headline.
- Plan
- Pro · commercial license
- Dependencies
- React only
- Props
- 9 (9 adjustable)
Included in Pro and Lifetime. See pricing
Breaking
news
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | string | "Breaking\\nnews" | The headline that gets uncovered (line breaks are supported). |
size | number | 84 | Letter size, in px. |
cover | string | "#e5553a" | Color of the paper that tears. |
sheet | string | "#f1ece0" | Color of the paper underneath (where the headline is). |
ink | string | "#15130f" | Ink color of the headline. |
fiber | number | 1 | How fibrous the torn edge is. |
loop | boolean | true | Repeats: the paper tears, stays open and closes again. |
hold | number | 3 | Seconds the paper stays open. |
sound | boolean | false | Synthesized paper-tearing sound (only plays after touching the sheet). |
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 Torn Paper Text
npx shadcn@latest add @furin-pro/ torn-paper-textDependencies
- 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.