Settings

Press Ctrl+K to preview the palette.
Sidebar
Display
Profile Panel
👤

John Doe

Administrator
  • 📊 Dashboard
  • 📝 Forms
  • 📋 Tables
Commands
🚀
Go to Page
Navigate to a page
AltG
🌓
Toggle Theme
Switch between light and dark mode
AltT
📐
Toggle Sidebar
Show or hide the sidebar
AltB
⚙️
Open Settings
Open the settings panel
AltS
Search In
📄
Pages
Search pages
:p
🧩
Components
Search component pages
:c

Navbar with Search Bar

Add a search bar to your navbar that opens the command palette when clicked:

Inline Live Search (NavbarSearchField)

A live search box with its own anchored results dropdown — distinct from the pill that opens the palette. Type e.g. a or pro: one globalSearch call returns a flat result set where each row is tagged with a group (the server's "group column"), and the field buckets them into Products / Users / Pages sections (top 5 each). No per-group requests.

Search Results Page (SearchResults)

The page-level results list a search navigates to (distinct from the live dropdown). One item tree, four presets — switch below. The grouped preset buckets by each row's group; detailed adds the snippet and meta trail. Backend <mark> highlight renders with allowHtml.

<!-- Navbar zone: type-and-go form (Enter → /search?q=…) -->
<NavbarSearchInput action="/search" name="q" placeholder="Search…" />

<!-- Sidebar: trigger (opens palette) OR type-and-go (pass action) -->
<SidebarSearch onclick={() => (showPalette = true)} />
<SidebarSearch action="/search" name="q" />

<!-- Command palette size preset (rc15): --sm / --lg / --xl -->
<CommandPalette bind:show size="lg" {commands} {contexts} />

Enhanced command palette with /commands for actions and :contexts for search. Press Ctrl+K or Cmd+K to open.

Quick Start

Display Style:

Commands (/)

CommandAliasesDescriptionSteps
/deploy/dDeploy a branch to an environmentenvironment → branch
/assign/aAssign an item to a team memberitem → user
/go/g/navNavigate to a pagepage
/theme/tChange the visual themetheme

Search Contexts (:)

Use : prefix to search within a specific context:

ShortcutNameExample
:pProducts:p search term
:uUsers:u search term
:oOrders:o search term

Multi-Step Commands

Commands can have multiple steps with conditional logic:

Example: /deploy (2 steps)

  1. Type /deploy and press Space
  2. Select environment (Development, Staging, Production)
  3. " branch " is auto-added
  4. Select or type a branch name
  5. Press Enter to execute

Example: /assign (2 steps)

  1. Type /assign and press Space
  2. Select an item (bug, feature, task)
  3. " to " is auto-added
  4. Select a team member
  5. Press Enter to execute

Example: /go (free text)

  1. Type /go and press Space
  2. Select a page or type a custom path
  3. Press Enter to navigate

Keyboard Shortcuts

KeyAction
Ctrl+K / Cmd+KOpen/close palette
Navigate options
Enter / TabSelect option
EscClose and reset

Try These

Click to open palette with pre-filled text:

Commands

Context Search

Global Search

Commands
🚀
Deploy to Environment
Deploy a branch to an environment
AltD
👤
Assign to User
Assign an item to a team member
AltA
🧭
Go to Page
Navigate to a page
AltG
🎨
Switch Theme
Change the visual theme
AltT
Search In
📦
Products
Search products by name or SKU
:p
👤
Users
Search users by name or email
:u
📦
Orders
Search orders by number or customer
:o

Keyboard Shortcuts

No shortcuts registered.