Rebar UI

1.0

opinion

SlashCommandMenu

A slash menu of commands grouped by category, filtered as you type.

Block menuType to filter; Enter picks the highlighted command
  • Basic blocks
  • Embeds
Filtered
  • Basic blocks
No match
No matching commands

In context

Meeting notesTyping a slash at the end of a line
Mobile design review notes22 Oct, 14:00

Offline sync is in review. Jonas to confirm the crew can finish a shift without signal.

/ta

  • Basic blocks

Props

PropTypeRequiredDefault
commandsSlashCommand[]Yes—
querystringYes—
onClose() => voidYes—
bionicboolean | undefinedNo—
bionicOptionsBionicOptions | undefinedNo—

data-rebar-* attributes

data-rebar-component="slash-command-menu"; parts include category-heading and command.

Migrating to Ant Design

Not codemod-covered — AntD has no inline slash-command primitive; compose Dropdown/Menu positioned at the caret manually.