Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultUI componentsGooey Filter Chips
Gooey AccordionBrowse all 182Gooey Fan Menu
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Gooey Filter Chips

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • CustomEase

Setup

npm i gsapregisterPlugin(CustomEase)

More like this

  • Form
  • Gooey
  • SVG

Features.

  • A chosen chip presses, flies into the tray and fuses with it through a stretching goo neck
  • The tray opens a beat behind the chip, so its edge trails it in
  • Dropping a chip pulls it out slowly until the neck snaps, then it springs home
  • Clear all pours every chip out, furthest first, on an elastic landing
  • A count in the tray rolls digit by digit with every change, and is read out to screen readers
  • Clicking mid-flight retargets from where everything is, with no restart
  • The tray wraps onto more lines when it fills; on narrow screens it stacks above the row
  • Real <button>s with aria-pressed; Clear all is disabled when the tray is empty
  • Respects prefers-reduced-motion: chips jump to their spot and fade in, no goo
  • GSAP and CustomEase; the script builds its own SVG filter

How to get it right.

Short labels, one or two words

The chips don't wrap, and the tray packs them tight. Short labels keep the row and the tray tidy.

Five to eight chips

The script lays out every chip on every click. Five to eight reads as a filter bar; more starts to wrap into several lines and the flights get long.

Give each chip a cost that means something

The count starts at data-au-total and each chosen chip takes its data-gch-cost off. Use it for "results left", "nights", "matches". It ships as a bare number. To name it, add <span class="gch_unit" aria-hidden="true" data-gch-unit>nights</span> after the count (unit in React); the live region reads it too. If you'd rather not show a count, set the costs to 0 and the unit to a label like "Filters".

Keep it on a plain background

The goo is a blur-and-threshold filter on --gch-ink. On a flat background the necks look like liquid.

Variations.

  • Filter bar — the default: a row of chips beside a tray with a rolling count
  • Start with picks — aria-pressed="true" on chips that should start in the tray
  • No goo — data-au-goo="0": the chips still fly and spring, without the neck
  • Slow and syrupy — data-au-duration="1"
  • Your colours — override --gch-ink, --gch-fg, --gch-muted, --gch-quiet and --gch-focus

Where it fits.

  • Search and listings — filter a list of products, articles or events
  • Booking flows — pick extras or preferences
  • Onboarding — "What are you into?" topic pickers
  • Dashboards — quick filters above a chart or table

Frequently asked.

Each chip carries aria-pressed="true" while it's in the tray. Listen for click on the chips (or the root) and read them back; the React version has an onChange prop that does this.

The chips have to fly between the row and the tray, so the script owns the layout: it measures every chip and places it as an absolute rectangle in the field. It re-measures on resize and once fonts load.

Edit the markup, then call window.au.GooeyChips.refresh(). Picks survive a refresh because they live in aria-pressed.

Yes. Each [data-au-gooey-chips] is its own instance with its own filter.

Set font-size on the root. Sizes are in em and the layout gaps scale with the font size.

Related components.

Pro

Image Slide Tabs

Click

Pro

Glow Band Sheet Modal

Click

Pro

Expanding Card Modal

Click