Skip to content
Added 2 Sept 2026
Back to library
filter-chip-set-15873
Filter Chip Set
Badges & Tags

Filter Chip Set

Set of chips that carry their own state: a checked chip flips to solid sky and slides a tick out from its left edge, and the moment any chip in the set is checked a Clear link widens into being at the end of the row.

Badges & Tagsfilterchipscheckboxstateclear
lines of CSS
64lines of CSS
dependencies
0dependencies
baseline browsers
Newlybaseline browsers
motion only on interaction
Hovermotion only on interaction
Backdrop
Clear
Open a live copy in

Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.

filter-chip-set-15873.css
.fx-v14-bd-filterset-15872 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: #131c31;
  border: 1px solid #253049;
  border-radius: 0.6rem;
}
.fx-v14-bd-filterset-15872 .ch {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 0.6rem;
  font-size: 0.68rem;
  color: #94a3b8;
  background: #1b2740;
  border: 1px solid #2c3d5f;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.2s ease;
}
.fx-v14-bd-filterset-15872 input { position: absolute; opacity: 0; width: 0; height: 0; }
.fx-v14-bd-filterset-15872 .ch i {
  display: block;
  width: 0;
  height: 9px;
  margin-right: 0;
  border-right: 2px solid #0b1220;
  border-bottom: 2px solid #0b1220;
  transform: rotate(45deg) scale(0.4);
  opacity: 0;
  transition: width 0.22s ease, margin 0.22s ease, opacity 0.2s ease, transform 0.28s cubic-bezier(0.34, 1.7, 0.64, 1);
}
.fx-v14-bd-filterset-15872 .ch:has(input:checked) {
  color: #0b1220;
  background: #7dd3fc;
  border-color: #7dd3fc;
}
.fx-v14-bd-filterset-15872 .ch:has(input:checked) i {
  width: 5px;
  margin-right: 6px;
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.fx-v14-bd-filterset-15872 .ch:hover { transform: translateY(-1px); border-color: #38bdf8; }
.fx-v14-bd-filterset-15872 .cl {
  display: block;
  max-width: 0;
  padding: 0.22rem 0;
  font-size: 0.66rem;
  color: #f87171;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  transition: max-width 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
}
.fx-v14-bd-filterset-15872:has(input:checked) .cl {
  max-width: 60px;
  padding: 0.22rem 0.3rem;
  opacity: 1;
}
.fx-v14-bd-filterset-15872 .cl:hover { text-decoration: underline; }
filter-chip-set-15873.html
<div class="fx-v14-bd-filterset-15872">
  <label class="ch">
    <input type="checkbox" checked />
    <i></i>
    <b>Open</b>
  </label>
  <label class="ch">
    <input type="checkbox" />
    <i></i>
    <b>Mine</b>
  </label>
  <label class="ch">
    <input type="checkbox" checked />
    <i></i>
    <b>Urgent</b>
  </label>
  <span class="cl">Clear</span>
</div>

What do I do with this?

  1. Put filter-chip-set-15873.css anywhere your page already loads CSS from — in Next.js that is app/globals.css, or any stylesheet with a <link> in your HTML.
  2. Then put the class on the element you want it on: <button class="fx-v14-bd-filterset-15872">. The CSS does nothing until a class name in it matches something on the page.
  • Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add filter-chip-set-15873

What's included

  • The markup and the stylesheet, in whichever framework you pick
  • No runtime dependencies

Works with

  • React
  • Vue
  • Svelte
  • Tailwind
  • styled-components
  • Plain CSS

npx hoverlab add filter-chip-set-15873

Or over MCP, from your editor's agent — no account needed.

License

Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.

Was this useful?

Motion safety

Static estimate, read from the CSS

Reduced motion
Brief motion, no guard

Animates briefly or on interaction. Only looping motion gets a guard in this catalog; copy the one from the Insights tab if this ships on a critical path.

What it animates
Reflows

Animates margin-right, max-width, padding, width (and background, border-color, color). The browser re-lays-out the page on every frame; prefer transform if you can.

Flashing (WCAG 2.3.1)
No flashing found

No repeating change in opacity, colour or brightness large enough to count as a flash.

Layout shift (CLS)
May shift layout

Animates margin-right, max-width, padding, width on a box in flow, so content beside or after it can move. A category from the CSS, not a measurement for this effect.

Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed

32 more effects in Badges & Tags

All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.

Browse Badges & Tags

Shipping one commercially

Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.

  • A commercial licence for everything in the catalog
  • Unlimited bundle exports, in Vue, Svelte and Tailwind
  • One payment — no subscription, nothing to renew
Pro — $79 once

7 variations of Filter Chip Set

Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.