Keyboard Key

Description

Create a keyboard key label.

Usage

bc_kbd(label, ...)

Arguments

Argument Description
label String. Text on the key, such as "\u2318K".
... Extra tag attributes.

Value

An htmltools tag.

Examples

bc_kbd("\u2318K")
⌘K

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