Skip to content

Extras

CommandPalette

Bit.BlazorUI.ExtrasCommandMenuCmdkSpotlight

BitCommandPalette is an accessible, keyboard-first command palette: the Ctrl+K (Cmd+K on a Mac) box that fuzzy-searches every page, action and setting of an app and runs the one picked, with nested pages, prompts, multi-select, async sources, recents and global shortcuts. Matching, ranking and every decision run in C#; the browser only shows the native dialog and listens for keys.

Templates & styling

Item, icon, header, footer and detail templates, the loading, no results and empty states, localization, CSS variables, ready-made skins, light and dark, density, forced colors, restyling, Style & Class and RTL.

Item template

ItemTemplate replaces the content of every row. It receives a BitCommandPaletteItemContext:
  • Row: the BitCommandPaletteRow being drawn. Row.Command is the command; Row.Match says how the query matched it: TitlePositions and SubtitlePositions (the matched character indexes), MatchedKeyword (the keyword that matched when the title did not) and Path (the titles of the pages above a nested command found from the root page, "Theme › Dark"). Row.Group is its heading and Row.ItemIndex its position among the rows.
  • IsActive: the row the arrow keys are on, which Enter runs.
  • IsChecked: the row is checked on a multi-select page.
  • IsPinned: the command is pinned to the top of the recents.
  • IsConfirming: a destructive command waiting for its second Enter.
  • IsMac: the palette runs on a Mac, so key names should be the Mac symbols (⌘, ↩).
The template replaces everything inside the row: the icon, the title and its highlighting, the subtitle, the badge, the toggle's switch, the checkbox of a multi-select page, the shortcut and the chevron of a page. Draw the parts you need. The row element itself stays the palette's: its role="option", its aria-selected, aria-checked and aria-disabled, the id that aria-activedescendant points at, its data-bit-cpl="item" and state attributes (data-active, data-disabled...), its hover and click handling and its Classes.Item / Classes.ActiveItem. A template therefore cannot break keyboard navigation or what a screen reader hears about the row.
Two helpers bring back what the default row draws:
  • BitCommandPaletteHighlightedText (Text, Positions) renders a text with each run of matched characters in a <mark>, painted with --bit-CommandPalette-mark-background. It widens a match to whole grapheme clusters, so an accent or half of an emoji is never split off. Pass Row.Match?.TitlePositions for the title and SubtitlePositions for the subtitle.
  • BitCommandPaletteShortcutHint (Shortcut, MacKeys, Strings, Class, Style) renders a shortcut as key caps, in the platform's symbols when MacKeys is set. The caps always read left to right and are hidden from screen readers, which hear the shortcut in words ("Ctrl+K", "G then S"). Strings gives the word between the chords of a sequence.
Mark the decorative parts of a template aria-hidden, never put a button or a link inside a row (the focus stays in the search box and rows are never focused), and draw nothing the palette already says: see the Accessibility & diagnostics topic. EnableHistory="false" keeps this sample's runs out of the recents, so the list stays as it is.
Type cs or src to see the highlighting, and open a file for the toast.

The archive…Loads for a second
An empty folderNothing in it
Program.cssrc/ServerAlt+1
App.razorsrc/ClientAlt+2
README.md/
appsettings.jsonsrc/Server
site.csssrc/Client/wwwroot

Icon & group header templates

IconTemplate draws the icon of every row and receives the row's BitCommandPaletteCommand. Unlike ItemTemplate it leaves the rest of the row to the palette - the highlighted title, the subtitle, the badge, the switch, the shortcut and the chevron - and only fills the icon slot, a small square at the start of the row that is hidden from screen readers. It wins over a command's own Icon and IconCss and over the icon the palette picks for the command's kind; render nothing for a row without an icon. It has no effect while an ItemTemplate is set, since that replaces the whole content of the row, icon included.
GroupHeaderTemplate replaces the content of every group heading and receives the heading's text. The heading element stays the palette's: it sticks to the top of the list while its group scrolls, carries Classes.GroupHeading, and is what the group's role="group" is named by (aria-labelledby), so a screen reader announces the group by the text the template renders. Keep the heading's words in it, and hide the decoration from screen readers as the sample does with its glyph.
Here the icon is the extension's initial, colored by the extension, and each heading gets a glyph.

The archive…Loads for a second
An empty folderNothing in it
Program.cssrc/Server Alt+1
App.razorsrc/Client Alt+2
README.md/
appsettings.jsonsrc/Server
site.csssrc/Client/wwwroot

Header & footer templates

HeaderTemplate adds content above the search box - the breadcrumbs and the box stay - and FooterTemplate replaces the footer, its keyboard hints and its toasts. The footer template is shown only while the footer is (ShowFooter, on by default). Both receive a BitCommandPaletteStateContext, a snapshot of the palette taken on every render:
  • Query: what is searched for, without a mode's prefix; ModePrefix and ModeName: the mode typed, if any.
  • Breadcrumbs: the titles of the pages opened, empty on the root page.
  • ResultCount, ActiveIndex and ActiveCommand: how many rows are listed and which one is active.
  • IsLoading: a lazily loaded page or an async source has not answered yet.
  • IsMultiSelect and SelectedCount: a multi-select page and how many rows are checked.
  • Toast: the message a command returned, or a confirmation or an error, while it is shown.
  • IsMac: whether to name the keys with the Mac symbols.
The palette's live regions announce every toast whatever the footer shows - its own footer, a FooterTemplate or no footer at all - so a footer template that shows Toast gives it no role="status" or aria-live of its own, which would have it announced twice. Classes.Header and Classes.Footer (see Style & Class) style the palette's own header and footer; a template is styled by what it renders.
Here the header counts the files and follows the pages, and the footer shows the active file's path and size, or the toast of the file just opened. Open The archive… to see the header follow the page while it loads.

All files · 7 files
The archive…Loads for a second
An empty folderNothing in it
Program.cssrc/Server Alt+1
App.razorsrc/Client Alt+2
README.md/
appsettings.jsonsrc/Server
site.csssrc/Client/wwwroot

Detail pane

DetailTemplate adds a pane beside the list for the active command, Raycast style: a preview of a file, a person's card, the description of a setting. It receives the active BitCommandPaletteCommand and is shown while a row is active, so it follows the arrow keys and the pointer. Whatever a command carries can be shown there: its Description (which is searched too, with a low weight), its Data - any object, such as the record of the file below - and its Shortcut, through BitCommandPaletteShortcutHint.
The pane is --bit-CommandPalette-detail-width wide (40% by default) and is styled through Classes.Detail / Styles.Detail. A modal palette with a detail pane opens wider, 920px instead of 640px, for the pane to have room (--bit-CommandPalette-width still decides when it is set); an inline palette keeps the width of its container. Below 600px the pane is hidden, as the modal palette then fills the screen.
The pane is beside the list, not in it: a screen reader follows the active option, not the pane. Put what a reader needs to choose a command in its title or subtitle, and keep the pane for what adds to them.

The archive…Loads for a second
An empty folderNothing in it
Program.cssrc/Server Alt+1
App.razorsrc/Client Alt+2
README.md/
appsettings.jsonsrc/Server
site.csssrc/Client/wwwroot

Loading, no results & empty

Three states take the place of the list, each with a template and, for the last two, a text:
  • LoadingTemplate is shown while a lazily loaded page (Children given a loader) or an async source has nothing to show yet. It replaces the whole default state, a spinner and Strings.Loading, so give what it says a role="status" as the sample does. The search box's icon turns into a spinner as well, and the list is marked aria-busy.
  • NoResultsTemplate is shown when a search matched nothing and receives the query. NoResultsText replaces only the sentence, keeping the icon and Strings.NoResultsHint under it. Without either, the palette shows Strings.NoResults with the query in its {0}.
  • EmptyTemplate is shown by a page with nothing on it at all, before anything is typed: a folder with no files, a lazy page whose loader returned nothing, a root page whose commands are not registered yet. EmptyText replaces only the sentence. Without either, the palette shows Strings.Empty.
The template wins over the text, and the text over the strings. The no-results and empty states are rendered inside a role="status" element of the palette's (styled by Classes.NoResults and Classes.Empty), so their templates need no live role of their own. A template's text is read by screen readers when it appears; the result count is announced too, so keep it short.
In the first palette, type zz for the no-results state, open The archive… for the loading state and An empty folder for the empty one. The second palette has no commands at all: it shows its EmptyTemplate, and its NoResultsText once something is typed.

The archive…Loads for a second
An empty folderNothing in it
Program.cssrc/Server Alt+1
App.razorsrc/Client Alt+2
README.md/
appsettings.jsonsrc/Server
site.csssrc/Client/wwwroot

No commands yet. They appear here once they are registered.

Localization

Every word of the palette - the placeholder, the footer's hints, the empty and loading states, the confirmation, and the words only screen readers hear, such as the dialog's name, the breadcrumbs' name (Breadcrumb), a switch's On / Off, the "then" of G S (ShortcutThen) and the announcement of a page (PageAnnouncement) - is a property of BitCommandPaletteStrings. To translate them:
  • For one palette, set its Strings parameter, as the palette below does.
  • For every palette, set options.Strings in the commandPalette argument of AddBitBlazorUIExtrasServices. The BitCommandPaletteShortcutHints and BitCommandPaletteTriggers outside a palette read these too; a BitCommandPaletteShortcutHint also takes a Strings parameter of its own.
  • For an app serving several languages, subclass it: every property is virtual, so a subclass can read them from an IStringLocalizer - the usual resource files - for the culture of each request.
Some strings are composite format strings: {0} (and {1} in PageAnnouncement and ApproximateResultsAnnouncement) is filled in with string.Format in the current culture (CultureInfo.CurrentCulture) - the query in NoResults, the count in ResultsAnnouncement, SelectedCount and MoreResults, the command's title in CommandFailed, CommandRefused and CommandUnavailable, the source's name in SourceFailed. Keep the placeholders when translating. The count announced after every search goes through ResultsAnnouncementFor(count), which picks NoResultsAnnouncement, OneResultAnnouncement or ResultsAnnouncement; a language whose plural forms one sentence per count cannot express - Polish, Russian, Arabic - overrides it, as the C# tab shows.
NoResults and Empty default to the library-wide BitStrings.Current.NoResultsFound and NoItemsFound, read each time they are shown: an app that already translates BlazorUI's own words through a BitStrings subclass (set as BitStrings.Current, or through AddBitBlazorUIServices(options => options.Strings = ...)) gets those two translated as well, unless the palette's strings set them. The NoResultsText and EmptyText parameters win over both.
When command titles are translated, give each command an explicit Id - an id derived from the title would change with the language, and the recents, the pins and the active row with it - and add the untranslated title as a keyword (.Keywords("Open settings") on Einstellungen öffnen), so people who learned the English name still find it, as VS Code does with its English aliases. Search ignores case and accents, and folds the Arabic and Persian forms of a letter and Persian and Arabic-Indic digits together (see the search sections above), so a query typed on another keyboard layout still matches.
Switch the language below. The placeholder, the footer's hints, the empty state (type xyz), the confirmation (choose the destructive row), the disabled reason and the back hint (open Export…), the switch's spoken state and the word between the key caps of G S all change, and typing settings or dark finds the translated commands in every language. The ids stay the same, so the active row survives a switch.

Delete all files
Open settings G then S
Dark mode Off
Export…

CSS variables

The palette is drawn from BlazorUI's theme tokens, and the parts an app most often re-skins are CSS variables of its own. They are read with a fallback and never declared by the library, so a value set on :root in the app's stylesheet re-skins every palette, one set on an element re-skins the palettes inside it, and one set through a palette's Style re-skins that palette alone - with no selector of the library's to fight.
  • --bit-CommandPalette-width: the modal dialog's width (640px; 920px with a detail pane). Never wider than the viewport.
  • --bit-CommandPalette-max-height: how tall the list grows with its header and footer (min(70vh, 560px)).
  • --bit-CommandPalette-top: how far down the modal dialog opens (12vh).
  • --bit-CommandPalette-radius: the corners of the dialog or of an inline palette (the theme's dialog radius).
  • --bit-CommandPalette-background and --bit-CommandPalette-color: the fill and the text (the theme's primary background and foreground).
  • --bit-CommandPalette-border-color: the lines between the header, the list and the footer, the edge of an inline palette and of the detail pane.
  • --bit-CommandPalette-shadow and --bit-CommandPalette-backdrop: the modal dialog's elevation and the fill of the page behind it.
  • --bit-CommandPalette-row-height: a row's least height (44px at the default density). While Virtualize is on, the rows are pinned to BitCommandPaletteOptions.RowHeight instead.
  • --bit-CommandPalette-item-radius: a row's corners.
  • --bit-CommandPalette-active-background: the active row, the palette's only "focus" in the list.
  • --bit-CommandPalette-accent: the mode chip, badges, checked rows, switches that are on, the selected count and the busy spinner (the theme's primary color).
  • --bit-CommandPalette-mark-background: the matched characters.
  • --bit-CommandPalette-detail-width: the detail pane (40%).
  • --bit-CommandPalette-focus-color: the focus ring of the palette's buttons - back, breadcrumbs, close, retry (the global focus ring).
BitCommandPaletteTrigger has its own: --bit-CommandPaletteTrigger-height, -background, -color, -border-color, -radius and -focus-color.
Everything else follows the theme, so it is changed there, for the whole app: the footer and the detail pane are on --bit-clr-bg-sec, subtitles and hints are --bit-clr-fg-sec, destructive rows and errors --bit-clr-err (on --bit-clr-err-tint when active), badges and the mode chip sit on --bit-clr-pri-tint, key caps are drawn in --bit-clr-bg-sec and --bit-clr-brd-pri, the type is --bit-tpg-font-family, the stacking order --bit-zin-modal and the pop-in --bit-mot-duration. Paddings, gaps and the heights of the search box and the footer follow the theme's spacing unit and density (see Density). A part no variable reaches is restyled through Classes / Styles (see Style & Class).
Every color a re-skin sets has to hold up in both light and dark: a color derived from the theme's own tokens, as the sample does with color-mix(in srgb, #ea580c 5%, var(--bit-clr-bg-pri)), follows the theme by itself. Keep text at 4.5:1 against its background and the active row distinct from the rest (3:1). The modal-only variables (width, top, shadow, backdrop) change nothing on an inline palette, which is as wide as its container and has an edge instead of a shadow: they apply to the page's modal palette the same way, set on :root or on its Style.

Open the inbox123 unread G then I
Archive all mail
Export the mailboxRequires the Pro plan
Notifications On
Theme

Ready-made skins

A skin is a set of the palette's CSS variables. Applied through Style it re-skins one palette; put in a class of the app's stylesheet and given through Class, or set on :root, it re-skins every palette that should look alike - the page's modal one included. The eight below are ready to copy. Every one derives its colors from the theme's tokens with color-mix() or leaves them to the theme, so each works in light and in dark: switch the site's theme to see them follow.
  • Default: no variables, the theme's own look.
  • Indigo: a deep blue-violet accent with softer, rounder corners.
  • Teal and Rose: an accent, with the surface, the edges and the active row tinted by it.
  • Flat: square corners, no shadow and a stronger edge, for a palette laid into a dense page.
  • Pill: round rows and corners, taller rows.
  • Dense list: short rows in a short list, for a palette in a side panel.
  • Terminal: a monospaced font and a green accent - a skin may set more than variables, here font-family on the palette, which its parts inherit.
For a dark palette on a light page, or the other way round, do not hard-code dark colors in a skin: switch the theme of that palette (see Light & dark), and the theme's tokens - and every skin built on them - follow.

Open the inbox123 unread G then I
Archive all mail
Export the mailboxRequires the Pro plan
Notifications On
Theme

Style: --bit-CommandPalette-accent: #4f46e5;--bit-CommandPalette-mark-background: rgba(79, 70, 229, .2);--bit-CommandPalette-active-background: rgba(79, 70, 229, .1);--bit-CommandPalette-radius: 14px;--bit-CommandPalette-item-radius: 8px;

Light & dark

The palette follows the app's theme: the light or dark bit-theme the app's <html> carries, which BitThemeManager sets - from the user's choice, or from the system's preference when the app follows it. Nothing has to be set on the palette for that.
To give one palette a theme of its own - a dark palette over a light page, or a light one in a dark side panel - set the theme on it or on an element around it:
  • A bit-theme="dark" (or "light") attribute on the palette itself: an attribute the palette does not know lands on its root element, the modal <dialog> or the inline <section>. BlazorUI's theme declares every palette of tokens (colors, shadows, color-scheme) on :root [bit-theme="dark"] as well as on :root[bit-theme="dark"], so any element with the attribute re-themes itself and everything in it.
  • The same attribute on any ancestor: <aside bit-theme="dark"> re-themes the palette and every other component in it.
  • A BitThemeProvider around the palette, with a BitTheme of its own - for instance BitThemeFactory.CreateDarkThemeFromSeed(BitAccentColorPresets.Teal), a whole dark palette derived from a brand color - for a theme that is not one of the packaged ones.
The page's modal palette takes the attribute the same way: <BitCommandPalette bit-theme="dark" />.
To change a palette variable in dark mode only, set it under both selectors the theme uses: :root[bit-theme="dark"], :root [bit-theme="dark"] { --bit-CommandPalette-accent: #2dd4bf; }.

Open the inbox123 unread G then I
Archive all mail
Export the mailboxRequires the Pro plan
Notifications On
Theme

A palette inside a BitThemeProvider with a dark theme of its own, teal:

Open the inbox123 unread G then I
Archive all mail
Export the mailboxRequires the Pro plan
Notifications On
Theme

Density

The palette's paddings, gaps and heights are multiples of the theme's spacing unit scaled by --bit-layout-density-scale, a unitless number (1 by default). Set it on the palette's Style, or on any element around it, and the palette tightens or loosens: the rows' padding and least height, the list's padding, the group headings, the search box's row, the breadcrumbs, the footer, the empty and loading states, the detail pane's padding, the key caps and the badges. Font sizes, icons and corner radii stay as they are, so text keeps its size. Below 1 is compact (0.8 suits a dense app or an inline palette in a side panel), above 1 is airy (1.2 for touch).
The scale is read where each part is drawn, so it reaches every BlazorUI component under the element it is set on: a BitThemeProvider with BitThemeDensityPresets.CreateCompactOverlay() (0.9) or CreateSpaciousOverlay() (1.1), or a BitTheme whose Layout.DensityScale is set, makes a whole region denser, palette included. BitCommandPaletteTrigger scales the same way, as the triggers below do.
A compact palette is Style="--bit-layout-density-scale: 0.8". A density of your own is a class: one that sets the scale and, where the scale is not enough, the palette's variables, such as .cozy { --bit-layout-density-scale: 0.9; --bit-CommandPalette-row-height: 38px; } given through Class. A --bit-CommandPalette-row-height that is set wins over the scaled row height; with Virtualize on, the rows are pinned to BitCommandPaletteOptions.RowHeight, which should then match the density.

Open the inbox123 unread G then I
Archive all mail
Export the mailboxRequires the Pro plan
Notifications On
Theme

Forced colors, contrast & motion

The palette follows what the reader asked of their system, with nothing to set:
  • Forced colors (Windows High Contrast and other forced palettes): backgrounds and shadows disappear in that mode, so the dialog gets a border, the header, the footer, the breadcrumbs, the badges and the key caps are outlined, the active row is outlined in the system's Highlight color, a disabled row is drawn in GrayText instead of being faded, checked boxes and switches that are on are filled with Highlight, and matched characters are drawn as Mark / MarkText.
  • More contrast (prefers-contrast: more): the active row is outlined as well as filled, matched characters are underlined as well as tinted, and BlazorUI's theme draws borders twice as thick, focus rings wider and the faintest text and lines one step stronger.
  • Reduced motion (prefers-reduced-motion: reduce): the dialog's pop-in, the backdrop's fade and the switches' slide are dropped, as every duration of the theme collapses; the spinners keep turning - they are the only sign that work is in progress - but slowly and evenly.
  • Small screens (below 600px): the modal palette fills the screen, the footer keeps only its last hint, and the detail pane and the rows' shortcuts are hidden. An inline palette keeps its place in the page.
  • Right to left: see RTL below.
The default colors are the theme's, whose text pairs meet WCAG AA (4.5:1), on the active row and the footer too; a re-skin should keep them there. To try the modes below without changing the system, emulate them in the browser's developer tools (Chrome: Rendering › Emulate CSS media feature forced-colors, prefers-contrast, prefers-reduced-motion) and move through the list: the switch, the badge, the destructive row (press Enter on it once), the disabled row and the matched characters all change.

Open the inbox123 unread G then I
Archive all mail
Export the mailboxRequires the Pro plan
Notifications On
Theme

Restyling from scratch

BitCommandPalette's styles are part of the Extras bundle like every other component's, and the palette is restyled on top of them, from the lightest touch to a look of its own:
  • The CSS variables, for its colors and sizes (see CSS variables and Ready-made skins).
  • Class and Style on the root, and Classes / Styles on its parts: the header, the search box, the list, the group headings, the rows, the active row, the states, the footer and the detail pane (see Style & Class).
  • The templates, to replace what a row, a heading, the icon, the header, the footer and the states show.
  • The stable data-bit-cpl attributes, as selectors under a class of your own, for the parts that have no Classes entry.
The data-bit-cpl attributes name every part: dialog (inline for an inline palette), root, main, header, breadcrumbs, crumb, mode, input-row, input, spinner, selected-count, close, notice, list, group, group-heading, item, path, label, mark, badge, shortcut, empty (no results and empty alike), loading, error, retry, prompt, prompt-error, footer, toast, status, alert, detail, sequence (the pending-sequence hint) and trigger on BitCommandPaletteTrigger. A row carries its state as attributes: data-active, data-checked, data-disabled, data-destructive, data-confirming, data-running and data-error (all "true" when set), data-kind (the command's kind) and data-value (its id). The root carries data-open, data-busy, data-multiselect, data-has-detail and data-ready - set once its browser layer listens for keys, which is what an end-to-end test waits for before pressing Ctrl+K on a prerendered page. They are also the stable hooks for tests; the bit-cpl-* classes may change between versions.
The palette below is styled by a handful of rules under its own class: no rounded rows, an inverted active row, underlined matches, struck-through unavailable rows and no footer.

Apples6 left
BananasRipe
CherriesOut of season
Carrots1 kg
Leeks3
Throw out the leftovers

Style & Class

Class and Style go on the palette's root element - the modal <dialog>, or the <section> of an inline palette - next to its own class, so a CSS variable set there reaches the whole palette. Classes and Styles, both a BitCommandPaletteClassStyles, reach its parts:
  • Root: the root element, like Class / Style.
  • Header: the header, with the breadcrumbs and the search box (not a HeaderTemplate, which is rendered above it).
  • Input: the search box.
  • List: the list.
  • GroupHeading: every group heading.
  • Item: every row; ActiveItem: the active row, added to Item (its style is written after Item's, so it wins).
  • Empty: what a page with nothing on it shows; NoResults: what a search that matched nothing shows (around their templates too).
  • Footer: the footer (not a FooterTemplate, which replaces it).
  • Detail: the detail pane, when a DetailTemplate is set.
A style in Styles is written on the element, so it wins over the stylesheet. A class in Classes is matched against the palette's own rules, so a rule that changes what the palette already sets for a state - the active row's fill, say - needs a selector at least as specific (.my-item[data-active="true"]), or the variable that is meant for it (--bit-CommandPalette-active-background). Open Nothing inside for the Empty part and type zz for NoResults.
BitCommandPaletteTrigger has its own Class / Style and Classes / Styles, a BitCommandPaletteTriggerClassStyles: Root (the button), Icon (the search icon), Label and Shortcut (the key caps). A trigger opens the page's modal palette.

VioletAccent
Indigo
Teal
Nothing insideOpens an empty page

VioletAccent
Indigo
Teal
Nothing insideOpens an empty page

VioletAccent
Indigo
Teal
Nothing insideOpens an empty page

RTL

Use BitCommandPalette in right-to-left (RTL). Dir="BitDir.Rtl" lays the palette out from the right; so does a dir="rtl" on any element around it (prefer Dir on the palette: the few browsers without the :dir() selector mirror its arrows only then). Every rule uses logical properties, so:
  • The search icon, the rows' icons and the back button start on the right; the footer's last hint, the detail pane and its border, and a switch's knob (on at the left) all follow.
  • Arrows and chevrons are mirrored - the back arrow, a page's chevron, the arrow of a navigation command - and the separator between a nested command's ancestors turns into ‹ ("خروجی گرفتن… ‹ به صورت PDF": type PDF).
  • User text - titles, subtitles, badges, values, breadcrumbs, headings - isolates its own direction (dir="auto"), so an English title in a Persian palette, such as Open in VS Code… below, keeps its punctuation where it belongs. Shortcut key caps always read left to right, as on the keys: G S, with ShortcutThen between them.
  • ArrowLeft and ArrowRight trade places. On an empty search box the palette reads the arrow pointing to the start of the line as "back" and the one pointing to its end as "into the action panel". In right-to-left text the start is on the right, so → goes back a page and ← opens the action panel of the active row. Open خروجی گرفتن… and press → to come back; on باز کردن تنظیمات, press ← for its action. Backspace on an empty box and Escape go back in either direction.
The words are the palette's Strings (see Localization): the sample translates every one of them into Persian, and overrides ResultsAnnouncementFor to announce the count in Persian digits (۱۲), which a screen reader reading Persian expects. Search folds the Arabic and Persian forms of a letter and the Persian, Arabic-Indic and Latin digits together, so 2 and ۲ both find the export's subtitle, and a shortcut such as G S works when a Persian keyboard layout types ل س (see the keyboard sections above). In Persian and Arabic, TriggerNameSeparator is "، ".

باز کردن تنظیمات G سپس S
حالت تاریک خاموش
Open in VS Code…ویرایشگر پیش‌فرض
خروجی گرفتن…۲ قالب
حذف همه فایل‌ها

Feedback

Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.