Applies to every preview on the site.
Installation
One command copies the source into your app — you own the code and can change anything.
After you add the file, import it like any local component:
import { ChipGroup } from "@/components/ui/chip-group";Or add it with the CLI (installs any missing peers):
Usage
useKit(). Wrap your app in <KitProvider accent="#6366f1" radius={14}> to re-skin every component at once.Like this? There's a lot more in Pro Pro
12 full screens built from the same kit — install them the same way.
Props
| Prop | Type | Default |
|---|---|---|
| options Plain strings or objects with label, icon, count and per-chip disabled. | (string | { value, label?, icon?, count?, disabled? })[] | — |
| multiple Allow several selected chips. | boolean | false |
| value / onValueChange Controlled selection (or use defaultValue). Single mode reports [] or [value]. | string[] | — |
| defaultValue Initial selection when uncontrolled. | string[] | [] |
| deselectable Single mode: tapping the selected chip clears it. | boolean | true |
| variant Selected look: filled accent, accent border with a faint tint, or soft accent tint. | "solid" | "outline" | "soft" | "solid" |
| size 30 / 36 / 42pt tall. | "sm" | "md" | "lg" | "md" |
| scrollable One horizontally scrolling row instead of wrapping. | boolean | false |
| contentInset Scroll-row edge padding that bleeds into your screen gutter. | number | 0 |
| showCheck Morph a check in front of the label when selected. | boolean | true |
| accent Selected colour. | string | theme accent |
| disabled Dims every chip and blocks presses (or set disabled per option). | boolean | false |
| style Style for the wrapping row (the ScrollView when scrollable). | StyleProp<ViewStyle> | — |
| className Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. | string | — |
Customization
You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.
Design theme
Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).
Variants
Pick the Variants chip above the preview, or set variant=… — "solid" | "outline" | "soft".
Style props
React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).
- variant
- "solid" | "outline" | "soft" · default "solid"Selected look: filled accent, accent border with a faint tint, or soft accent tint.
- size
- "sm" | "md" | "lg" · default "md"30 / 36 / 42pt tall.
- accent
- string · default theme accentSelected colour.
- style
- StyleProp<ViewStyle>Style for the wrapping row (the ScrollView when scrollable).
- className
- stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.
Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.
Behaviour & accessibility
- Touch
- Tap to select. In single mode, tapping the selected chip clears it unless deselectable is false. Short chips pad their hit area to 44pt.
- Motion
- Selection springs the check, width and colours together, and chips squish while pressed.
- Screen readers
- Chips are radios in single mode and checkboxes in multiple mode, with checked and disabled state.
Source
FAQ
How do I make a tag selector in React Native?
npx @expokit/cli@latest add chip-group in your Expo or React Native project and it copies a ready-made tag selector into your app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.Does Chip Group work in Expo Go?
react-native-svg) are all included in Expo Go.How do I add Chip Group to my Expo app?
npx @expokit/cli@latest add chip-group in your project. The CLI copies the component's source into your app and installs react-native-svg, so the code is yours to change.Is Chip Group free?
Can I change how Chip Group looks?
useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit component. The code lives in your project, so you can also edit anything directly.