BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Manifest UI/tag-select

Tag Select

manifest-ui/tag-select
FreeBlock

Colored tag selector with single or multiple selection and color variants.

Install it

npx shadcn@latest add https://ui.manifest.build/r/tag-select.json

Source

registry/selection/tag-select.tsxui.manifest.build/r/tag-select.json · first 6 KB
1'use client'
2
3import { Button } from '@/components/ui/button'
4import { cn } from '@/lib/utils'
5import { Check, X } from 'lucide-react'
6import { useEffect, useState } from 'react'
7import { demoTags } from './demo/selection'
8
9/**
10 * Represents an individual tag option.
11 * @interface Tag
12 * @property {string} id - Unique identifier for the tag
13 * @property {string} label - Display text for the tag
14 * @property {"default" | "blue" | "green" | "red" | "yellow" | "purple"} [color] - Optional color theme
15 */
16export interface Tag {
17 id?: string
18 label?: string
19 color?: 'default' | 'blue' | 'green' | 'red' | 'yellow' | 'purple'
20}
21
22/**
23 * ═══════════════════════════════════════════════════════════════════════════
24 * TagSelectProps
25 * ═══════════════════════════════════════════════════════════════════════════
26 *
27 * Props for the TagSelect component, which provides tag-based filtering with
28 * single or multiple selection modes and validation support.
29 */
30export interface TagSelectProps {
31 data?: {
32 /** Array of tags to display for selection. */
33 tags?: Tag[]
34 }
35 actions?: {
36 /** Called when the user clicks the validate button with the selected tag IDs. */
37 onValidate?: (tagIds: string[]) => void
38 }
39 appearance?: {
40 /**
41 * Selection mode: single allows one tag, multiple allows many.
42 * @default "multiple"
43 */
44 mode?: 'single' | 'multiple'
45 /**
46 * Whether to show the clear selection button.
47 * @default true
48 */
49 showClear?: boolean
50 /**
51 * Whether to show the validate button.
52 * @default true
53 */
54 showValidate?: boolean
55 /**
56 * Custom label for the validate button.
57 * @default "Validate selection"
58 */
59 validateLabel?: string
60 }
61 control?: {
62 /** Array of pre-selected tag IDs for controlled mode. */
63 selectedTagIds?: string[]
64 }
65}
66
67
68// ChatGPT-compliant: all tags use neutral system colors
69const tagClasses = {
70 selected: 'bg-foreground text-background border-foreground',
71 unselected: 'bg-background text-foreground border-border hover:bg-muted'
72}
73
74/**
75 * A tag selection component with single or multiple selection modes.
76// … truncated

What it pulls in

npm packages

  • lucide-react

Other registry items

  • button

Files it writes

  • registry/selection/tag-select.tsx
  • registry/selection/demo/selection.ts

Facts

Registry
Manifest UI
Type
registry:block
Access
Free
Files written
2
Licence
the repository states none
In the index
at or before 2026-08-08
Last confirmed
today

Go to the source

ui.manifest.build Raw registry item This item as JSON

More from Manifest UI

All 32 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Amount Inputamount-inputManifest UIBlocksFree1 dep · 2 files
Chat Conversationchat-conversationManifest UIBlocksFree1 dep · 3 files
Contact Formcontact-formManifest UIBlocksFree1 dep · 3 files
Date & Time Pickerdate-time-pickerManifest UIBlocksFree1 dep · 2 files
Event Cardevent-cardManifest UIBlocksFree1 dep · 2 files
Event Confirmationevent-confirmationManifest UIBlocksFree1 dep · 2 files
Event Detailevent-detailManifest UIBlocksFree3 deps · 2 files
Event Listevent-listManifest UIBlocksFree3 deps · 2 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex