Skip to content
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

PropTypeDefaultDescription
childrenstring"Glass"Glass text (line breaks with \n).
sizenumber124Font size, in px.
weightnumber700Font weight: glass looks best on thick strokes.
refractionnumber1Strength of the refraction at the letters' edges (0 = light isn't bent).
blurnumber1.2Blur of the background inside the letters, in px.
dispersionnumber0.1Color separation (chromatic aberration) at the edge, from 0 to 0.5.
frostnumber0.5White tint of the glass, from 0 to 1.
scenebooleanfalseDraws 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 license

2Install Glass Text

npx shadcn@latest add @furin-pro/glass-text

Dependencies

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.

Keep exploring

  • Text that comes out of an embossing label maker, letter by letter.

    Text

  • Wooden tiles that shuffle and drop into place with clacks.

    Text

  • Debossed letters with ink that spreads like in a movable-type letterpress.

    Text