DUCommandPalette

Navigation

⌘K style command / search menu.

import { DUCommandPalette } from 'deri-ui';
Live preview
typescript
<DUCommandPalette open={open} onClose={close} items={[{id:'1',label:'Go home',onSelect:go}]} />

Props

PropTypeDefaultDescription
itemsDUCommandItem[]Commands
open / onCloseboolean / fnVisibility
placeholderstringSearch placeholder

Usage

import { DUCommandPalette } from 'deri-ui';

<DUCommandPalette open={open} onClose={close} items={[{id:'1',label:'Go home',onSelect:go}]} />

Customize with className, radius, and Tailwind utilities. Theme tokens come from deri-ui/tailwind.preset.

© 2026 Deri Ui. Developed by Deribew Shimelis. Copy and use the code freely in your projects.