Tag Pit, animated React component
An interests picker where every tag is a physical pill dropped into a tray. Grab and throw the pills, shake the tray, and tap one to pick it so it hops up and lights; Continue unlocks once enough are picked.
- Pro
- Inputs & Controls
- Spring
Play with it
Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| tags | string[] | ["Design", "Motion", "Typography", "3D", "Photography", "AI", "Music", "Startups", "Travel", "Coffee", "Gaming", "Writing", "Code", "Film", "Architecture", "Fitness"] | The interests to pick from. Each one becomes a physical pill sized to its label. |
| min | number | 3 | How many picks unlock the Continue button. |
| accent | string | "#0071e3" | Colour of picked pills, the picked chips and the Continue button (6-digit hex). |
| autoplay | boolean | false | Picks a few tags and shakes the tray by itself until someone touches it. |