ProText
Tanzaku
Phrases on vertical paper strips that hang from a thread and sway with the movement of the cursor.
- Plan
- Pro · commercial license
- Dependencies
- React only
- Props
- 13 (11 adjustable)
Included in Pro and Lifetime. See pricing
- COPY
- PASTE
- AND IT
- MOVES
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
phrases | string[] | string | "風鈴|THE|CURSOR|IS THE|WIND" | Phrases, one per strip: an array, or a single string with the phrases separated by "|". |
paper | string | "#F6F0E4" | Color of the strips' paper. |
ink | string | "#111111" | Ink color (the text). |
accent | string | "#E8452C" | Color of the knot band above each strip. |
thread | string | "#FFFFFF" | Color of the string and the threads. |
threadLength | number | 44 | Average thread length of each strip, in px (each one hangs at its own height). |
wind | number | 1 | Strength of the wind the cursor stirs up; 0 turns it off. |
breeze | number | 1 | Strength of the soft background breeze; 0 turns it off. |
fontSize | number | 30 | Letter size, in px. |
gap | number | 22 | Spacing between strips, in px. |
letters | "straight" | "rotated" | "straight" | How the letters are set: "straight" (upright, stacked one on top of another) or "rotated" (turned, like sideways text). |
className | string | "" | Extra CSS class for the container. |
style | CSSProperties | undefined | Inline styles for the container. |
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 Tanzaku
npx shadcn@latest add @furin-pro/ tanzakuDependencies
- 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.