Vizel API / react/src / VizelSlashMenu
Function: VizelSlashMenu()
ts
function VizelSlashMenu(__namedParameters): ReactNode;Defined in: packages/react/src/components/VizelSlashMenu.tsx:63
Slash command menu component for displaying command suggestions.
DOM scaffolding (listbox container, section grouping, item identity
- index) comes from
@vizel/core'sbuildVizelSlashMenuSpecFromCommands; this component is the React-flavored binding that maps the spec to JSX. Item rendering (icon + label + description + shortcut) stays inVizelSlashMenuItem, which keepsrole="option"ownership.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | VizelSlashMenuProps |
Returns
ReactNode