Kbd

A keyboard key or shortcut hint.

Installation

bash
shellui-native add kbd

Platforms: MAUI · Avalonia.

Usage

Basic

Rendered with ShellUI for Blazor
Press CtrlK to search, or close with Esc
<HorizontalStackLayout Spacing="6">
    <ui:ShellLabel Text="Press" Size="Sm" Variant="Muted" />
    <ui:Kbd Text="Ctrl" />
    <ui:Kbd Text="K" />
    <ui:ShellLabel Text="to search, or close with" Size="Sm" Variant="Muted" />
    <ui:Kbd Text="Esc" />
</HorizontalStackLayout>
Avalonia, running in your browser

API

Property Type Default Description
Text string — Key or shortcut to show (Ctrl+K).

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.