Choices: circle and square
A circle means pick one, a square means combine freely. Clicking a picked circle makes it pulse.
UniversalUsed in production
Install
npx finepieces add choice-chipsOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/choice-chips.jsonChoose
example.tsx
import { ChoiceChips } from "@/components/fine-pieces/choice-chips";
export default function Example() {
return (
<ChoiceChips single={{ label: "How long?", options: ["30 min", "60 min", "90 min"] }} multi={{ label: "Add-ons", options: ["Tint", "Head massage", "Tea"] }} />
);
}