Skip to content
IndexRequest a UIAboutContact

Gel Translucent Buttons

Glossy, jelly-like buttons built from gradients, an inner highlight and soft shadows, with colour and gloss controls.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI CODING TOOL
Close-up product render of a glossy jelly-style button, rounded pill shape in translucent lime green with a bright white curved highlight across the top half, soft inner shadow at the bottom, a coloured glow underneath it, the label Start in dark green bold text, set on a pale neutral background; variants in grape purple and cherry red. Negative: flat colour, harsh black outline, noise, clutter, text errors. Reduced motion: still image.

About this pattern

Definition

A gel button looks like a drop of coloured jelly: translucent colour, a bright curved highlight on the top half and a soft glow underneath. It feels tactile and playful. The effect is layered gradients and shadows, with a pressed state that flattens the highlight and darkens the colour.

Purpose & UX principles

  • Base: a vertical gradient from a lighter to a deeper tone of one hue.
  • Highlight: a white-to-transparent gradient over the top half with rounded corners.
  • Depth: an inset shadow at the bottom and a coloured outer glow.
  • Pressed: shift down one pixel, reduce the glow, dim the highlight.

Interaction states

  • Colour buttons, a Gloss slider and a live button to press.

Motion specification

  • Press changes in 80ms.
  • Reduced motion: no transition.

Responsive behaviour

  • Keep label contrast high against the coloured fill; use dark or white text as needed.
  • Do not overuse; reserve gel buttons for a single primary action.

Code

HTML
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Colour"><button data-p="0" aria-pressed="true">Lime</button><button data-p="1" aria-pressed="false">Grape</button><button data-p="2" aria-pressed="false">Cherry</button></div><div class="st"><button class="gel" id="gl" type="button">Start</button><button class="gel sm" type="button" tabindex="-1" aria-hidden="true">Skip</button></div><label class="rw">Gloss <b id="gv">70%</b><input id="gs" type="range" min="0" max="100" value="70"></label></div>

Related patterns

Clay Puffy Buttons

↗
Clay Puffy ButtonsGlass & Tactile

Soft Rubber Squish

↗
Soft Rubber SquishSurfaces & Objects

Neon Tube Glow

↗
Neon Tube GlowGlass & Tactile