BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/edgecom/command

Command

edgecom/command
FreeComponent

The Edgecom Command component.

Live preview

live · rendered by the registry
Rendered by edgecom on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://design.edgecom.ai/r/command.json

Source

src/components/ui/command.tsxdesign.edgecom.ai/r/command.json
1"use client"
2
3import * as React from "react"
4import { Command as CommandPrimitive } from "cmdk"
5
6import { cn } from "@/lib/utils"
7import {
8 Dialog,
9 DialogContent,
10 DialogDescription,
11 DialogHeader,
12 DialogTitle,
13} from "@/components/ui/dialog"
14import {
15 InputGroup,
16 InputGroupAddon,
17} from "@/components/ui/input-group"
18import { SearchIcon, CheckIcon } from "lucide-react"
19
20function Command({
21 className,
22 ...props
23}: React.ComponentProps<typeof CommandPrimitive>) {
24 return (
25 <CommandPrimitive
26 data-slot="command"
27 className={cn(
28 "flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground",
29 className
30 )}
31 {...props}
32 />
33 )
34}
35
36function CommandDialog({
37 title = "Command Palette",
38 description = "Search for a command to run...",
39 children,
40 className,
41 showCloseButton = false,
42 ...props
43}: Omit<React.ComponentProps<typeof Dialog>, "children"> & {
44 title?: string
45 description?: string
46 className?: string
47 showCloseButton?: boolean
48 children: React.ReactNode
49}) {
50 return (
51 <Dialog {...props}>
52 <DialogHeader className="sr-only">
53 <DialogTitle>{title}</DialogTitle>
54 <DialogDescription>{description}</DialogDescription>
55 </DialogHeader>
56 <DialogContent
57 className={cn(
58 "top-1/3 translate-y-0 overflow-hidden rounded-xl! p-0",
59 className
60 )}
61 showCloseButton={showCloseButton}
62 >
63 <Command>{children}</Command>
64 </DialogContent>
65 </Dialog>
66 )
67}
68
69function CommandInput({
70 className,
71 ...props
72}: React.ComponentProps<typeof CommandPrimitive.Input>) {
73 return (
74 <div data-slot="command-input-wrapper" className="p-1 pb-0">
75 <InputGroup className="h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!">
76 <CommandPrimitive.Input
77 data-slot="command-input"
78 className={cn(
79 "w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
80 className
81 )}
82 {...props}
83 />
84 <InputGroupAddon>
85 <SearchIcon className="size-4 shrink-0 opacity-50" />
86 </InputGroupAddon>
87 </InputGroup>
88 </div>
89 )
90}
91
92function CommandList({
93 className,
94 ...props
95}: React.ComponentProps<typeof CommandPrimitive.List>) {
96 return (
97 <CommandPrimitive.List
98 data-slot="command-list"
99 className={cn(
100// … truncated

What it pulls in

npm packages

  • cmdk
  • lucide-react

Other registry items

  • edgecom-ai/design-system/theme
  • edgecom-ai/design-system/dialog
  • edgecom-ai/design-system/input-group

Files it writes

  • src/components/ui/command.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