BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/edgecom/multi-select

Multi Select

edgecom/multi-select
FreeComponent

The Edgecom Multi Select component.

Install it

npx shadcn@latest add https://design.edgecom.ai/r/multi-select.json

Source

src/components/ui/multi-select.tsxdesign.edgecom.ai/r/multi-select.json · first 6 KB
1'use client'
2
3import * as React from 'react'
4
5import { useEffect } from 'react'
6
7import { Command as CommandPrimitive, useCommandState } from 'cmdk'
8import { Command, CommandGroup, CommandItem, CommandList } from '@/components/ui/command'
9import { cn } from '@/lib/utils'
10import { XIcon } from "lucide-react"
11
12export interface Option {
13 value: string
14 label: string
15 disable?: boolean
16
17 /** fixed option that can't be removed. */
18 fixed?: boolean
19
20 /** Group the options by providing key. */
21 [key: string]: string | boolean | undefined
22}
23interface GroupOption {
24 [key: string]: Option[]
25}
26
27interface MultipleSelectorProps {
28 value?: Option[]
29 defaultOptions?: Option[]
30
31 /** manually controlled options */
32 options?: Option[]
33 placeholder?: string
34
35 /** Loading component. */
36 loadingIndicator?: React.ReactNode
37
38 /** Empty component. */
39 emptyIndicator?: React.ReactNode
40
41 /** Debounce time for async search. Only work with `onSearch`. */
42 delay?: number
43
44 /**
45 * Only work with `onSearch` prop. Trigger search when `onFocus`.
46 * For example, when user click on the input, it will trigger the search to get initial options.
47 **/
48 triggerSearchOnFocus?: boolean
49
50 /** async search */
51 onSearch?: (value: string) => Promise<Option[]>
52
53 /**
54 * sync search. This search will not showing loadingIndicator.
55 * The rest props are the same as async search.
56 * i.e.: creatable, groupBy, delay.
57 **/
58 onSearchSync?: (value: string) => Option[]
59 onChange?: (options: Option[]) => void
60
61 /** Limit the maximum number of selected options. */
62 maxSelected?: number
63
64 /** When the number of selected options exceeds the limit, the onMaxSelected will be called. */
65 onMaxSelected?: (maxLimit: number) => void
66
67 /** Hide the placeholder when there are options selected. */
68 hidePlaceholderWhenSelected?: boolean
69 disabled?: boolean
70
71 /** Group the options base on provided key. */
72 groupBy?: string
73 className?: string
74 badgeClassName?: string
75
76 /**
77 * First item selected is a default behavior by cmdk. That is why the default is true.
78 * This is a workaround solution by add a dummy item.
79 *
80 * @reference: https://github.com/pacocoursey/cmdk/issues/171
81 */
82 selectFirstItem?: boolean
83
84 /** Allow user to create option when there is no option matched. */
85 creatable?: boolean
86
87 /** Props of `Command` */
88 commandProps?: React.ComponentPropsWithoutRef<typeof Command>
89
90 /** Props of `CommandInput` */
91// … truncated

What it pulls in

npm packages

  • lucide-react

Other registry items

  • edgecom-ai/design-system/theme

Files it writes

  • src/components/ui/multi-select.tsx

Facts

Registry
edgecom
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-22
Last confirmed
today

Go to the source

Docs on edgecom design.edgecom.ai edgecom-ai/design-system on GitHub Raw registry item This item as JSON

More from edgecom

All 66 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionedgecomComponentsFree2 deps
AlertalertedgecomComponentsFree1 dep
Alert Dialogalert-dialogedgecomComponentsFree1 dep
AvataravataredgecomComponentsFree1 dep
BadgebadgeedgecomComponentsFree2 deps
BannerbanneredgecomComponentsFree1 dep
BreadcrumbbreadcrumbedgecomComponentsFree2 deps
ButtonbuttonedgecomComponentsFree2 deps

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

KitGrade

SaaS starter kits, scored on what can be checked

kitgrade.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 KitGrade

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 KitGrade

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 KitGrade

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