Sign up and get 15% off every plan.

Sign up
Menu
Labels and tablesHeroUIApache-2.0 licenceFree

Chip

A small rounded label, in five colours.

Add it to your project

Or install the packages yourselfTerminal
npm install @heroui/react

The code

components/chip-demo.tsxReact
/**
 * Demo from HeroUI, https://heroui.com (docs example chip/basic.tsx).
 * Apache-2.0, Copyright 2025 NextUI Inc. Full text: https://github.com/heroui-inc/heroui/blob/main/LICENSE
 * Changed for Tastebud: a default export (HeroUI's docs use named ones).
 */
import {Chip} from "@heroui/react";

export default function ChipDemo() {
  return (
    <div className="flex flex-wrap items-center gap-3">
      <Chip>Default</Chip>
      <Chip color="accent">Accent</Chip>
      <Chip color="success">Success</Chip>
      <Chip color="warning">Warning</Chip>
      <Chip color="danger">Danger</Chip>
    </div>
  );
}

Changed for this site: A default export (HeroUI's docs use named ones).