uiable

Closable Badge

Component 1

About

A tag/badge with a small close button that lets users remove it from a list, commonly used for filters, chips, or selected items.

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

Code

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

Usage.tsx

import BadgeClosable from "@/components/ui/badge-closable";

export default function BadgeClosableDemo() {
  return (
    <div className="flex items-center justify-center p-10">
      <BadgeClosable />
    </div>
  );
}

Dependencies

More by uiable

View all
  • Feature Highlights Grid

    Feature Highlights Grid

    513
  • Card Tabs

    Card Tabs

    142
  • Financial Bento Grid

    Financial Bento Grid

    129
  • Portfolio Showcase Grid

    Portfolio Showcase Grid

    90
  • Marketing Hero Section

    Marketing Hero Section

    89
  • Chart Tooltip

    Chart Tooltip

    89
  • Sidebar with Search and Profile

    Sidebar with Search and Profile

    79
  • Attachment States

    Attachment States

    58