ProText
Glass Text
Frosted glass letters that refract whatever is behind them.
- Plan
- Pro · commercial license
- Dependencies
- React only
- Props
- 8 (8 adjustable)
Included in Pro and Lifetime. See pricing
Glass
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | string | "Glass" | Glass text (line breaks with \n). |
size | number | 124 | Font size, in px. |
weight | number | 700 | Font weight: glass looks best on thick strokes. |
refraction | number | 1 | Strength of the refraction at the letters' edges (0 = light isn't bent). |
blur | number | 1.2 | Blur of the background inside the letters, in px. |
dispersion | number | 0.1 | Color separation (chromatic aberration) at the edge, from 0 to 0.5. |
frost | number | 0.5 | White tint of the glass, from 0 to 1. |
scene | boolean | false | Draws a moving color scene behind it (to see it refract). |
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 Glass Text
npx shadcn@latest add @furin-pro/ glass-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.