Documentation menu · Ai
Ai

GlassCommandPalette

A command palette with grouped actions and fuzzy search.

ListedProduction package import

#Overview

Catalogued without card preview

In 5.0 the compat palette renders the native CommandPalette, a modal dialog portalled to the page layer root with a viewport-fixed popup and scrim; the 4.x contained/compact/positionStrategy preview props are accepted as legacy unknowns and ignored, so an open preview cannot stay inside its card. The inline GlassCommand surface above stays live.

Status
listed
Category
Ai
Package
aura-glass

#Install and Import

Install the package once, import the component from the public entry, and load styles a single time at the app root.

shell
npm install [email protected]
import
import { GlassCommandPalette } from 'aura-glass/compat'
styles
import 'aura-glass/styles.css';

#Accessibility

Focus should move to the search field, arrow keys should move through commands, and command labels should describe actions rather than visual styling.

#SSR and Performance

Keep command data local or memoized, debounce remote search, and avoid streaming model telemetry unless the palette is open.

#Theming

Theme with public props, `className`, `style`, and AuraGlass CSS variables. Avoid private DOM selectors so the component can upgrade with the package.