Skip to content
IndexRequest a UIAboutContact

Soft Rubber Squish

A soft silicone button that squashes when pressed, with a hardness slider for how far it gives.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI IMAGE OR VIDEO TOOL
Studio product photograph of a soft matte silicone button in mint green pressed gently so it flattens slightly and bulges at the sides, a faint highlight along the top edge, darker inner shadow at the base, soft gradient background, matte surface with no glare, 85mm lens, tactile and friendly. Variants: peach, charcoal and lilac. Negative: glossy plastic, chrome, cracks, text, hand in frame, hard shadows. Reduced motion: show only a slight darkening on press.

About this pattern

Definition

Soft materials deform when pressed: they get shorter and wider, then spring back with a small overshoot. A matte surface with a soft highlight plus a squash scale on press is enough to make a flat shape feel like rubber.

When to use it

  • Squash and stretch: reduce height, increase width by a smaller amount, then release with a springy curve.
  • Keep the surface matte: a faint top highlight and a darker inner edge, no sharp glare.
  • Use real button elements so keyboard Space and Enter produce the same squash.

What the controls do

  • Four colours, a Hardness slider and a big press button.

Motion & timing

  • Press: 90ms squash. Release: 420ms spring with overshoot.
  • Reduced motion: the squash is replaced by a brief colour darkening, no scale.

Tips & variations

  • Respect a larger tap target; the squash must not move the hit area away from the finger.
  • Limit the squash to about 10 to 30 percent.

Code of this live preview

HTML
<div class="bx"><div class="sc"><button class="rb" id="rb" type="button" aria-label="Press"><span>Press me</span></button></div><div class="pre" id="pre" role="group" aria-label="Colour"><button data-p="0" aria-pressed="true">Mint</button><button data-p="1" aria-pressed="false">Peach</button><button data-p="2" aria-pressed="false">Charcoal</button><button data-p="3" aria-pressed="false">Lilac</button></div><label class="rw">Hardness <b id="hv">50%</b><input id="hd" type="range" min="0" max="100" value="50"></label></div>

Related patterns

Ceramic Glaze & Gloss

↗
Ceramic Glaze & GlossSurfaces & Objects

Frosted Glass & Acrylic

↗
Frosted Glass & AcrylicSurfaces & Objects

Leather Grain & Stitching

↗
Leather Grain & StitchingSurfaces & Objects