Intent UI

Tag Group

Component

About

A collection of tags displayed together for categorizing, filtering, selecting, or removing multiple labels, built on React Aria Components.

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

Code

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

Usage.tsx

"use client";

import { Label } from "@/components/ui/field";
import { Tag, TagGroup, TagList } from "@/components/ui/tag-group";

export const androidBrands = [
  { id: "1", name: "Samsung", available: false },
  { id: "2", name: "OnePlus", available: true },
  { id: "3", name: "Google", available: true },
  { id: "4", name: "Xiaomi", available: false },
];

export default function TagGroupDemo() {
  return (
    <TagGroup selectionMode="multiple">
      <Label>Android Brands</Label>
      <TagList items={androidBrands}>
        {(item) => <Tag>{item.name}</Tag>}
      </TagList>
    </TagGroup>
  );
}

Dependencies

More by Intent UI

View all
  • Radar Chart

    Radar Chart

    217
  • Radial Chart

    Radial Chart

    77
  • Bar Chart

    Bar Chart

    44
  • Pie Chart

    Pie Chart

    29
  • Toggle Group

    Toggle Group

    24
  • Loader

    Loader

    23
  • Progress Bar

    Progress Bar

    19
  • Color Slider

    Color Slider

    13

Explore more

Part of Intent UI — browse the full library on 21st.dev.