panelui

Chip

Component

About

A pill that can be pressed: a filter turned on and off, or an added value with a × to take it out.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Chip to your project and fits it to your theme.

Code

How Chip is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

'use client';

import { Chip } from '@/components/ui/panel-chip';
export default function ChipOverview() {
  return (
    <Chip.Group defaultValue={['vegetarian', 'quick']} aria-label="Filter recipes">
      <Chip value="vegetarian">Vegetarian</Chip>
      <Chip value="quick">Under 30 minutes</Chip>
      <Chip value="one-pot">One pot</Chip>
      <Chip value="freezer">Freezes well</Chip>
    </Chip.Group>
  );
}

Dependencies

More by panelui

View all
  • Spinner

    Spinner

    8
  • Flow

    Flow

    4
  • Hex Chart

    Hex Chart

    2
  • Treemap Chart

    Treemap Chart

    1
  • Soundwave

    Soundwave

    1
  • Share

    Share

    1
  • Scatter Chart

    Scatter Chart

    1
  • Pyramid Chart

    Pyramid Chart

    1