Components · Labels & Badges
Filter Chip
StableAdded v0.0.1
Interactive chip for filtering, supports selected/unselected state.
import { FilterChip } from '@nexub/react';Playground
Props
size
<FilterChip>All</FilterChip>Examples
Default
States
defaultdisabledselectedsize="sm"size="md"size="lg"
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| selected | boolean | false | Controlled selected state of the chip. |
| disabled | boolean | — | Disables the chip. |
| childrenrequired | React.ReactNode | — | |
| count | number | — | |
| onRemove | (() => void) | — | |
| size | 'sm' | 'md' | 'lg' | 'md' | sm 24px, md 32px (default), lg 40px. |
On iOS & Android: FilterChip
@nexub/react-nativeAlpha
import { FilterChip } from '@nexub/react-native';
<FilterChip label="This month" selected onPress={toggle} />Web vs mobile
Same tokens and prop names. Where the platforms differ:
| Web | iOS & Android | |
|---|---|---|
| Hit area | Visual size; xs/sm controls meet WCAG 2.5.8 (24px). | Always 44pt, extended with hitSlop when the visual is smaller. |
Interactive preview of @nexub/react-native rendered for the web. Native chrome (switches, pickers, Liquid Glass) looks like the platform on a device.
On device

iPhone (iOS simulator)

Pixel (Android emulator)
Screenshots from the latest CI run of the showcase app; the live frame renders the same code for the web.