Palette
import { Palette, PaletteInput, PaletteFilters, PaletteList, PaletteGroup, PaletteItem, PaletteEmpty, PaletteFooter, MatchText } from "@arcadia/ui";No result opened
Palette
openrequired- boolean
onOpenChangerequired- (open: boolean, details: OpenChangeDetails) => void
onOpenChangeComplete- (open: boolean) => void
labelrequired- string
- Its name ("Search"), a hidden title.
instant- boolean
- A shortcut's open: there in one frame.
modal- boolean
- Default:
true false: set down open on a page.container- PortalContainer
- Where a surface's portal mounts. Default:
document.body. Pass a themed subtree to keep itsdata-theme, or a transformed stage to containposition: fixedoverlays (previews): a modal set down in one stays in it, shown in place, out of the browser's top layer. rootStyle- RootStyle
- A component's typed override prop:
Layoutand its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md).
valuerequired- string
onValueChangerequired- (value: string, details: { event: Event }) => void
Rest props go to <input> props.
onRemoveLast- () => void
- Backspace in the empty field.
label- string
- Default:
"Filters" rootStyle- RootStyle
- A component's typed override prop:
Layoutand its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md). children- ReactNode
Chips and a menu's trigger.
status- "ready" | "loading" | "error"
- Default:
"ready" loadingkeeps the last results;errordrops them.onRetry- () => void
- The failure's "Try again".
error- ReactNode
- Default:
"Could not search" - What failed.
label- string
- Default:
"Results" rootStyle- RootStyle
- A component's typed override prop:
Layoutand its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md).
labelrequired- ReactNode
- What its rows are ("Cards").
rootStyle- RootStyle
- A component's typed override prop:
Layoutand its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md).
labelrequired- ReactNode
- A
MatchTextwhere the query found it. description- ReactNode
- A line under it: the line it was found by.
meta- ReactNode
- Where it is, when.
onSelect- (event: PaletteSelectEvent) => void
keepOpen- boolean
- Default:
false disabled- boolean | string
- Default:
false - A sentence says why, in its tooltip.
rootStyle- RootStyle
- A component's typed override prop:
Layoutand its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md).
queryrequired- string
children- ReactNode
- Other words ("No cards match Bug").
rootStyle- RootStyle
- A component's typed override prop:
Layoutand its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md). children- ReactNode
- A
KeyLegend, drawn only where a fine pointer is.
ranges- readonly (readonly [number, number])[]
- What a search found, each
[start, end). query- string
- Or the query: its words, found where a word starts.