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/option-list

Option List

manifest-ui/option-list
FreeBlock

Tag-style option selector with single or multiple selection modes.

Install it

npx shadcn@latest add https://ui.manifest.build/r/option-list.json

Source

registry/selection/option-list.tsxui.manifest.build/r/option-list.json
1'use client'
2
3import { Button } from '@/components/ui/button'
4import { cn } from '@/lib/utils'
5import { Check } from 'lucide-react'
6import { useEffect, useState } from 'react'
7
8// Import types from shared types file to avoid circular dependencies
9import type { Option } from './types'
10// Re-export for backward compatibility
11export type { Option } from './types'
12
13import { demoOptions } from './demo/selection'
14
15
16/**
17 * ═══════════════════════════════════════════════════════════════════════════
18 * OptionListProps
19 * ═══════════════════════════════════════════════════════════════════════════
20 *
21 * Props for the OptionList component, which displays selectable options with
22 * support for single or multiple selection modes.
23 */
24export interface OptionListProps {
25 data?: {
26 /** Array of selectable options to display. */
27 options?: Option[]
28 }
29 actions?: {
30 /** Called when the user confirms their selection. Returns selected option(s). */
31 onSubmit?: (selected: Option[]) => void
32 }
33 appearance?: {
34 /**
35 * Enable multiple selection mode.
36 * @default false
37 */
38 multiple?: boolean
39 }
40 control?: {
41 /** Controlled selected index for single selection mode. */
42 selectedOptionIndex?: number
43 /** Controlled selected indexes for multiple selection mode. */
44 selectedOptionIndexes?: number[]
45 }
46}
47
48/**
49 * An option list component with single or multiple selection.
50 * Uses compact pill/chip design with check indicators.
51 *
52 * Features:
53 * - Single and multiple selection modes
54 * - Optional descriptions and icons
55 * - Disabled state support
56 * - Controlled and uncontrolled usage
57 *
58 * @component
59 * @example
60 * ```tsx
61 * <OptionList
62 * data={{
63 * options: [
64 * { label: "Option A" },
65 * { label: "Option B", description: "With description" },
66 * { label: "Option C", disabled: true }
67 * ]
68 * }}
69 * appearance={{ multiple: true }}
70 * actions={{ onSelectOptions: (opts) => console.log(opts) }}
71 * />
72 * ```
73 */
74export function OptionList({ data, actions, appearance, control }: OptionListProps) {
75 const resolved: NonNullable<OptionListProps['data']> = data ?? { options: demoOptions }
76// … truncated

What it pulls in

npm packages

  • lucide-react

Other registry items

  • button
  • https://ui.manifest.build/r/manifest-types.json

Files it writes

  • registry/selection/option-list.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