BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Iconiq UI/command-palette

Command Palette

iconiq-ui/command-palette
FreeComponent

Radix dialog command menu with grouped search, keyboard shortcuts, navigation items, custom triggers, and optional theme switching.

Live preview

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

Install it

npx shadcn@latest add https://www.iconiqui.com/r/command-palette.json

Source

command-palette.tsxwww.iconiqui.com/r/command-palette.json · first 6 KB
1"use client";
2
3import * as DialogPrimitive from "@radix-ui/react-dialog";
4import {
5 ArrowDown,
6 ArrowUp,
7 Command,
8 CornerDownLeft,
9 Search,
10 X,
11} from "lucide-react";
12import { motion, useReducedMotion } from "motion/react";
13import { usePathname, useRouter } from "next/navigation";
14import { useTheme } from "next-themes";
15import * as React from "react";
16
17import { cn } from "@/lib/utils";
18
19const QUERY_SPLIT_REGEX = /\s+/;
20const RECENT_STORAGE_KEY = "iconiq-command-palette-recent";
21const MAC_PLATFORM_REGEX = /mac/i;
22const EXTERNAL_HREF_REGEX = /^https?:\/\//i;
23
24const componentThemeClassName =
25// … truncated

What it pulls in

npm packages

  • @radix-ui/react-dialog
  • lucide-react
  • motion
  • next-themes

Files it writes

  • command-palette.tsx

Facts

Registry
Iconiq UI
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-03
Last confirmed
today

Go to the source

Docs on Iconiq UI www.iconiqui.com edwinvakayil/iconiq on GitHub Raw registry item This item as JSON

More from Iconiq UI

All 119 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionIconiq UIComponentsFree2 deps
AI Inputai-inputIconiq UIComponentsFree3 deps
AlertalertIconiq UIComponentsFree2 deps
AvataravatarIconiq UIComponentsFree3 deps
Accordion (Base UI)b-accordionIconiq UIComponentsFree2 deps
Alert Dialog (Base UI)b-alert-dialogIconiq UIComponentsFree3 deps
Autocomplete (Base UI)b-autocompleteIconiq UIComponentsFree3 deps
Avatar (Base UI)b-avatarIconiq UIComponentsFree2 deps
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex