Zinc
Slate
Violet
Rose
Emerald
Blue
Orange
Star
ESC
Components/Command Palette

Command Palette

Tier 2: Light-DOM

Fast instant-filtered command menu with keyboard navigation

Installation

$npx nnui add command
copy

Interactive Preview & Code

Or press ⌘K (Mac) / Ctrl+K (Windows) anywhere on this page.

🔍
Suggestions
📅 Calendar ⌘C
😊 Search Emoji ⌘E
🧮 Launch Calculator
Settings
👤 User Profile ⌘P
💳 Billing Preferences ⌘B
🔍 ESC
Navigation
📖 Go to Documentation G D
🧩 Browse All Components G C
Actions
⚡ Create New Project ⌘N
📋 Copy "npm i nnui-kit"

How to Utilize

NNUI-KIT components live directly in the document Light DOM. You can use them via declarative HTML, with our first-class React wrapper, or platform-natively in Svelte, Vue, Astro, and HTMX:

React 18 & 19 (Next.js 15 App Router)
import 'nnui-kit/css';
import 'nnui-kit/client';
import { CommandPalette } from 'nnui-kit/react';
Universal Web Components (Vue 3, Svelte 5, Astro, HTMX)
<!-- Automatically registers <ui-command> and <nnui-command> -->
import 'nnui-kit/css';
import 'nnui-kit/client';

Platform Features

Zero Shadow DOM
Element lives in the Light DOM. Tailwind and global CSS apply directly.
persist="url | local"
Add declarative persistence attribute to auto-sync state with URL search params.
sync="cross-tab"
Synchronize changes across all open browser tabs via BroadcastChannel.