Size
82px
Gap
66px
Columns
3
Roundness
0.6
Refraction
0.8
Bevel
0.6
Dispersion
0
Frost
0.2
Shine
0.85
Tint Opacity
0.2
Tilt
30°
Parallax

More components in Pro

Galleries, cards and interactive pieces for pages that need more than the basics.

View all 255
23 properties
itemsGlassIconsItem[][]Icons to show. Each item takes an icon, a label and a color, plus an optional href, target, onClick, id and className. Color is a preset name (blue, purple, red, indigo, orange, green, teal, pink, graphite, silver) or any CSS color or gradient.
size82Width and height of each icon in px.
gap66Space between the icons in px.
columns3Icons per row. They wrap to fewer columns when there is not enough room.
roundness0.6Corner rounding, from 0 for square to 1 for a circle.
refraction0.8How strongly the glass bends what is behind it around its edge. Works in Chromium browsers.
bevel0.6Width of the curved glass edge, from 0 to 1.
dispersionRainbow fringing where the edge bends the light, from 0 to 1.
frost0.2How much the glass blurs what is behind it, from 0 to 1.
shine0.85Strength of the light catching the glass edge, from 0 to 1.
tint'#dfdfdf'Color of the glass.
tintOpacity0.2How strongly the tint colors the glass, from 0 to 1.
iconColorColor of the icons on the glass. Defaults to white, or near black on clear glass in the light theme.
plate'tilt' | 'offset' | 'circle' | 'none''tilt'Colored shape behind the glass: a tilted card, a shifted card, a disc or nothing for clear glass.
tilt30Angle of the tilted card in degrees.
spread0.5How far the shifted card or disc peeks out from behind the glass, from 0 to 1.
hover'lift' | 'float' | 'press' | 'none''press'Hover animation. Lift raises the glass and swings the card, float raises the glass and press pushes it in.
parallaxHow far the card behind the glass drifts with the pointer, from 0 to 1.
labels'hover' | 'always' | 'none''hover'When the labels under the icons are shown.
Plays an entrance the first time the icons scroll into view: the glass settles and the cards swing out.
theme'dark' | 'light''dark'Color scheme of the labels and glass edges.
Extra class names for the container.
Inline styles for the container.
itemsGlassIconsItem[]

Icons to show. Each item takes an icon, a label and a color, plus an optional href, target, onClick, id and className. Color is a preset name (blue, purple, red, indigo, orange, green, teal, pink, graphite, silver) or any CSS color or gradient.

Default[]
sizenumber

Width and height of each icon in px.

Default82
gapnumber

Space between the icons in px.

Default66
columnsnumber

Icons per row. They wrap to fewer columns when there is not enough room.

Default3
roundnessnumber

Corner rounding, from 0 for square to 1 for a circle.

Default0.6
refractionnumber

How strongly the glass bends what is behind it around its edge. Works in Chromium browsers.

Default0.8
bevelnumber

Width of the curved glass edge, from 0 to 1.

Default0.6
dispersionnumber

Rainbow fringing where the edge bends the light, from 0 to 1.

frostnumber

How much the glass blurs what is behind it, from 0 to 1.

Default0.2
shinenumber

Strength of the light catching the glass edge, from 0 to 1.

Default0.85
tintstring

Color of the glass.

Default'#dfdfdf'
tintOpacitynumber

How strongly the tint colors the glass, from 0 to 1.

Default0.2
iconColorstring

Color of the icons on the glass. Defaults to white, or near black on clear glass in the light theme.

plate'tilt' | 'offset' | 'circle' | 'none'

Colored shape behind the glass: a tilted card, a shifted card, a disc or nothing for clear glass.

Default'tilt'
tiltnumber

Angle of the tilted card in degrees.

Default30
spreadnumber

How far the shifted card or disc peeks out from behind the glass, from 0 to 1.

Default0.5
hover'lift' | 'float' | 'press' | 'none'

Hover animation. Lift raises the glass and swings the card, float raises the glass and press pushes it in.

Default'press'
parallaxnumber

How far the card behind the glass drifts with the pointer, from 0 to 1.

labels'hover' | 'always' | 'none'

When the labels under the icons are shown.

Default'hover'
introboolean

Plays an entrance the first time the icons scroll into view: the glass settles and the cards swing out.

theme'dark' | 'light'

Color scheme of the labels and glass edges.

Default'dark'

Extra class names for the container.

Inline styles for the container.