Component · Buttons

Glass icon buttons for quick actions

by Informeek Studio 11 November 2026
Live Hover the icons, then tap one

The prompt

Build a quick actions screen for a fictional bike share, Pedalway, on a pale blue grey page (#eef1f7). Centre the label "Pedalway city bikes, 312 nearby" and the heading "Where are you riding today?". Below, six glass icon buttons in one row on desktop (92px tiles) and a 3 by 2 grid on phones (72px): Unlock, Find a dock, My rides, Day pass, Report and Help. Each tile has two layers with a 28% radius. Behind, a gradient plate (Unlock #ff8a5c to #ff3d6e, Find a dock #3dd6a3 to #0f9a77, My rides #7d97ff to #4a5cff, Day pass #ffd166 to #ff9a1f, Report #c3a1ff to #7a4dff, Help #5fd8ff to #1f8ef0) turned 14 degrees and peeking out. In front, a frosted glass square, 20% white with backdrop-filter blur 12px and saturate 1.9, a 1px light edge, a top highlight and a white line icon in SVG. On hover or focus the plate swings to 26 degrees and slides out, the glass tilts up to 11 degrees towards the pointer, and a light sheen sweeps across in 0.9s. Labels sit below at 14px. Clicking updates a frosted status card below, for example "Bike 2041 unlocked, at Canal Basin dock". When idle, one icon lifts its glass every 1.9s so phones see it. Follow prefers-color-scheme for a dark page (#0d1017). Without backdrop-filter, use a 62% solid fill. Reduced motion removes the sheen.

Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI site builder, or any AI chat that writes code.
  3. Make it yours by swapping the icons and actions for the shortcuts in your own app.

About these glassmorphism icons

Glassmorphism icons look best when there is colour right behind the glass. Here every icon carries its own: a gradient plate sits behind a frosted square, turned a few degrees so its corner peeks out. Hover, focus or tap and the plate swings further out while the glass tilts towards you and a streak of light runs across it. The blur turns the plate into a soft glow of colour inside the glass.

They are real buttons with labels, not pictures of icons. Each one updates a status card with something useful, such as the bike you just unlocked or the nearest dock with spaces. When nobody is touching the screen, one icon at a time lifts its glass, so a phone visitor sees the effect without hovering.

Why the prompt works

  • It explains the two layers, a coloured plate behind a frosted pane.
  • It gives every gradient as a pair of hex codes.
  • It sets the hover angles and the sheen timing in degrees and seconds.
  • It covers dark mode and missing blur, so the glass never turns muddy.

Where to use it

App home screens, quick action menus, dashboards and settings pages. Six to eight icons is plenty; give each a clearly different hue so they stay easy to tell apart.

The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.

Keep exploring

More prompts like this

See the collection →
Live
Component · Buttons

Magnetic button hover effect

Live
Component · Buttons

Six CSS animated buttons

Live
Component · Toggles

Tactile lever toggle switches