Components / UI & Cards

Expand Pills

Interaction · React / GSAP

A column of pills, one open at a time: the open pill tweens to an expanded width and the height of its panel (0.5 s back.out), closing returns it to its measured size; sizes are re-measured on mount, font load and resize; Escape closes.

Recorded preview

Shown alone, with the content it has in the block Expand pills.

This is a recording. The live preview and its controls come with Pro. See what Pro opens

Used in blocks

More in UI & Cards

See all →