Kbd draws a key of a keyboard, to show a shortcut. It is most useful on a tablet or a phone with a hardware keyboard. Pass the key's name as label or as children. See the web Kbd page for the web version.
Kbd takes Flex props, so you can change its background, border, padding or size.
- Kbd is a View. Inside a Text it sits in the line as a nested view, but its baseline may not line up exactly with the text around it. In a row of other views, use it as is.
- The label is always label-default-s in neutral-medium. Pass your own Text as children for a different style.