Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsButtons & actions

Merge Chips

Filter chips with counts whose adjacent selections fuse into one continuous pill, built on Radix ToggleGroup.

Preview

Sprint 14 board

Pick neighbours and they fuse into one key.

22 issues · 2 people

Assignee

Kind

Status

Sort by

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
options{ value: T; label: ReactNode; count?: number; disabled?: boolean }[]-Chips in display order. Required.
valueT[]-Controlled selection; at most one item in single mode.
defaultValueT[][]Uncontrolled initial selection.
onValueChange(value: T[]) => void-Called with the new selection, in option order.
type"multiple" | "single""multiple"Single keeps at most one chip selected and slides the tint instead of merging.
mergebooleantrueFuse adjacent selected chips into one pill; false keeps them separate.
size"sm" | "md""md"Chip height, padding, text and badge size.
disabledbooleanfalseDisable every chip.
loopbooleantrueArrow keys wrap from the last chip to the first.
dir"ltr" | "rtl"-Reading direction for arrow-key navigation.
classNamestring-Merged onto the root group.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗