Skip to content

Chip

Compact element for tags, filters, and small actions. Supports icons, removable state, and color tokens.

Data Display·Available inReactVueAngular·View as Markdown

Preview

tsx
Default
Primary
Success
Error
Warning
Info

Switch the framework picker (top-right of the panel) to render the same demo live in React, Vue, or Angular — same class names, ARIA, and visual output across all three.

Playground

Flip props to see how the component responds. The snippet below updates as you change options.

Chip

Installation

Sisyphos UI ships unified packages for React, Vue, and Angular. Pick the one that matches your stack — every framework exports the same component classes, ARIA semantics, and CSS tokens.

$ pnpm add @sisyphos-ui/react

Then import the bundled stylesheet once at app entry: import "@sisyphos-ui/react/styles.css";

Usage

Idiomatic usage in each supported framework
import { Chip } from "@sisyphos-ui/react";

export const Tag = () => <Chip color="primary" variant="soft">Featured</Chip>;

Variants

tsx
Contained
Outlined
Soft

Deletable

Pass `onDelete` to render a trailing close button (separate click target).

tsx
react
typescript
vite
tailwind

Clickable filter chips

`clickable` turns a chip into a focusable, keyboard-activatable button.

tsx
design
frontend
backend
devops
docs
selected: design · use Enter/Space

With icons

`startIcon`/`endIcon` bracket the label. Use `radius="full"` for pill chips.

tsx
Feature request
Approved
full radius
Both icons

Disabled

Disables clicks, delete actions, and focus.

tsx
Disabled
Status · locked
Disabled + clickable
Disabled + onDelete

Real world — active filters

Removable filter Chips inside a Card, with a Clear all Button.

tsx
Active filters
Status: Active
Plan: Team
Role: Admin
Region: EU

API

Props table is being written. See the package README for the complete API surface.

The full API including refs, ARIA attributes, and HTML passthroughs lives in the package README on npm.

Need more?View on npm →
Was this page helpful?