Officina UI
Components

Chip

Interactive, removable chips in five tones and three variants.

Chip represents filters, selections, and removable tokens.

Example

Preview
NeutralInfoSuccessWarningRemovable
import { Chip } from '@officina/ui';

<Chip tone="success" variant="solid">Success</Chip>
<Chip tone="danger" onRemove={() => remove(id)}>Removable</Chip>

API

PropTypeDefaultDescription
childrenReactNode—Chip label content.
iconReactNode—Optional leading icon.
interactiveboolean—Render as a button (clickable/selectable) rather than a static span.
onRemove() => void—When provided, renders a remove (×) button that calls this handler.
removeLabelstringRemoveAccessible label for the remove button.
sizeenummdChip size.
toneenumneutralSemantic colour.
variantenumsoftFill style: solid, soft, or outline.

On this page