🎯 Nexus teaches Next.js from foundations to professional systemsβ€’βš‘ App Router, React 19, and Tailwind v4 in one learning pathβ€’πŸ§© Inspect real components, layouts, and reusable patternsβ€’πŸ› οΈ Build production discipline, not just polished demosβ€’πŸ“š Tracks, references, and design studies in one placeβ€’πŸŽ― Nexus teaches Next.js from foundations to professional systemsβ€’βš‘ App Router, React 19, and Tailwind v4 in one learning pathβ€’πŸ§© Inspect real components, layouts, and reusable patternsβ€’πŸ› οΈ Build production discipline, not just polished demosβ€’πŸ“š Tracks, references, and design studies in one placeβ€’πŸŽ― Nexus teaches Next.js from foundations to professional systemsβ€’βš‘ App Router, React 19, and Tailwind v4 in one learning pathβ€’πŸ§© Inspect real components, layouts, and reusable patternsβ€’πŸ› οΈ Build production discipline, not just polished demosβ€’πŸ“š Tracks, references, and design studies in one placeβ€’πŸŽ― Nexus teaches Next.js from foundations to professional systemsβ€’βš‘ App Router, React 19, and Tailwind v4 in one learning pathβ€’πŸ§© Inspect real components, layouts, and reusable patternsβ€’πŸ› οΈ Build production discipline, not just polished demosβ€’πŸ“š Tracks, references, and design studies in one placeβ€’
UI Components

Command Menu

A ⌘K command palette with fuzzy search, grouped items, keyboard navigation, and shortcut badges.

Quick Preview

or press ⌘K

Installation

npm install cmdk
// Copy CommandMenu.tsx to your components/ui/ folder
// src/components/ui/CommandMenu.tsx

Usage

import { CommandMenu, CommandItem } from '@/components/ui/CommandMenu'
const items: CommandItem[] = [
{
id: 'settings',
label: 'Settings',
description: 'Manage your preferences',
icon: <Settings size={14} />,
shortcut: '⌘,',
group: 'Navigation',
onSelect: () => router.push('/settings'),
},
]
// Controlled usage
const [open, setOpen] = useState(false)
<Button onClick={() => setOpen(true)}>Open</Button>
<CommandMenu
items={items}
open={open}
onOpenChange={setOpen}
registerShortcut={false}
/>
// Or use registerShortcut to auto-bind ⌘K / Ctrl+K
<CommandMenu items={items} registerShortcut />

Prompt Preview

Copy a prompt that recreates this UI

Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.

Copy-ready AI prompt

Starts from the current visual reference and project constraints.

Tweak only product-specific copy or data after the first generation pass.

Props

PropTypeDefaultDescription
items*CommandItem[]-Array of command items to display
openboolean-Controlled open state
onOpenChange(open: boolean) => void-Called when open state changes
placeholderstring"Type a command…"Input placeholder text
emptyMessagestring"No results found."Message shown when no results match
registerShortcutbooleantrueBinds ⌘K / Ctrl+K to open the menu

CommandItem Props

PropTypeDefaultDescription
id*string-Unique identifier
label*string-Display label and search text
onSelect*() => void-Called when item is selected
descriptionstring-Secondary description text
iconReact.ReactNode-Icon shown before label
shortcutstring-Keyboard shortcut badge (display only)
groupstring"General"Group name for organizing items