Skip to Content
ARCUI

Chip

Compact ARCUI action or selectable control with standalone and SelectionGroup ownership modes.

A Chip can be action-only, standalone selectable, or grouped selectable. The public type models those modes directly.

Action chip

<Chip onPress={openFilters}>Filters</Chip>

Action-only Chip does not accept selected, value, or selectable-only props.

Standalone selectable

const [selected, setSelected] = useState(false);

<Chip selected={selected} onSelectedChange={setSelected}>
  Design
</Chip>;

SelectionGroup

const [values, setValues] = useState<string[]>(["motion"]);

<SelectionGroup multiple values={values} onValuesChange={setValues}>
  <Chip value="motion">Motion</Chip>
  <Chip value="themes">Themes</Chip>
  <Chip value="tokens">Tokens</Chip>
</SelectionGroup>;

Grouped selection remains owned by SelectionGroup. onSelectedChange is optional child-level notification after the group resolves an actual requested change.

Visual types

solid | border | transparent

type defaults to "border".

Selectable Chips may use selectedType to change presentation only while selected. Without it, ARCUI keeps the base type and uses that type's selected color tokens.

Selected check

showCheckOnSelected defaults to true for selectable Chips and replaces iconRight with a check while selected.

Icons

iconLeft and iconRight use names from the active ARCUI icon registry.

Press and native surface

animation overrides the ARCUI press behavior for one instance. Normal native PressableProps remain available where they do not conflict with Chip's semantic contract.

React 19 ref-as-prop exposes the underlying native Pressable View:

const ref = useRef<View>(null);
<Chip ref={ref} onPress={openFilters}>Filters</Chip>;

Testing

Use testID where the public component contract exposes it so application tests can target the ARCUI-owned root without depending on visual implementation details. Component-specific stable descendants may use documented suffixes.

For provider setup and the dedicated react-native-arc-ui/testing entrypoint, see Testing.

API Reference

Action Chip

Also inherits: Omit< PressableProps, "children" | "role" | "accessibilityRole" | "aria-selected" | "aria-disabled" >

PropTypeDefaultDescription
ref?Ref<View>—React 19 ref-as-prop. Exposes the underlying native Pressable View.
childrenReactNoderequired—
type?TChipType——
animation?TPressAnimation——
iconLeft?IIcon["type"]——
iconRight?IIcon["type"]——
containerStyle?StyleProp<ViewStyle>——
radius?number——

Standalone Selectable Chip

Also inherits: Omit< PressableProps, "children" | "role" | "accessibilityRole" | "aria-selected" | "aria-disabled" >

PropTypeDefaultDescription
ref?Ref<View>—React 19 ref-as-prop. Exposes the underlying native Pressable View.
childrenReactNoderequired—
type?TChipType——
animation?TPressAnimation——
iconLeft?IIcon["type"]——
iconRight?IIcon["type"]——
containerStyle?StyleProp<ViewStyle>——
radius?number——
selectedType?TChipType—Visual presentation used while selected. When omitted, the Chip keeps its base type and uses that presentation's selected color tokens.
onSelectedChange?(selected: boolean) => void—Called when Chip requests a selection-state change. Standalone: the consumer owns selected. SelectionGroup: optional child-level notification after the group resolves an actual selection change.
showCheckOnSelected?booleantrueReplaces iconRight with a check while selected.
selectedbooleanrequiredStandalone semantic selection state. The consumer is the source of truth.

Grouped Selectable Chip

Also inherits: Omit< PressableProps, "children" | "role" | "accessibilityRole" | "aria-selected" | "aria-disabled" >

PropTypeDefaultDescription
ref?Ref<View>—React 19 ref-as-prop. Exposes the underlying native Pressable View.
childrenReactNoderequired—
type?TChipType——
animation?TPressAnimation——
iconLeft?IIcon["type"]——
iconRight?IIcon["type"]——
containerStyle?StyleProp<ViewStyle>——
radius?number——
selectedType?TChipType—Visual presentation used while selected. When omitted, the Chip keeps its base type and uses that presentation's selected color tokens.
onSelectedChange?(selected: boolean) => void—Called when Chip requests a selection-state change. Standalone: the consumer owns selected. SelectionGroup: optional child-level notification after the group resolves an actual selection change.
showCheckOnSelected?booleantrueReplaces iconRight with a check while selected.
valueTSelectionValuerequiredSelectionGroup identity. SelectionGroup owns the selected state.

Generated from the ARCUI 1.1.x TypeScript source snapshot. Native inherited props remain available through the referenced React Native surface.

The generated table above covers ARCUI-owned public props from the source-aligned type snapshot. Native inherited surfaces remain available where the public type extends React Native props.

Motion

Selectable Chip state remains controlled while selected presentation, press feedback, theme color, and layout changes are rendered through ARCUI motion primitives.

See Motion for the library-wide model.

Performance

Keep application semantics at normal React update cadence. ARCUI components avoid using React state as a frame-by-frame animation driver; use the component callbacks and let Reanimated own continuous visual work.

See Performance for broader guidance.

Accessibility

ARCUI uses native roles, labels, semantic accessibility state, centralized font scaling, and localizable ARCUI-owned strings where the component owns behavior text. Consumer accessibility overrides remain available when they do not conflict with component correctness.

See Accessibility for the library-wide model.

Theming

This component resolves its normal presentation from ARCUI tokens and active theme context. Prefer token configuration for system-wide design changes and component props for genuine instance-level exceptions.

Relevant token areas include:

colors.*.chip
sizings.chip
radius.chip
border.chip
pressAnimation
animations

Top-level token overrides are shallow. Compose changed built-in namespaces from defaultTokens rather than relying on recursive merge behavior.

See Tokens and Theming.

Try it live

Open the existing React Native Snack to explore Chip interactively.

Open in Expo Snack ↗

On this page