Keyboard Key

Description

A single key label in an inline <kbd>.

Usage

bc_kbd(label, ...)

Arguments

Argument Description
label String. Text on the key, such as "⌘K".
... Tag attributes for the <kbd>.

Value

A <kbd> tag.

Examples

bc_kbd("⌘K")
⌘K

bc_kbd("⏎", `data-icon` = "inline-end")