Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

Kbd

Kbd is a component that represents keyboard input.

Source@yamada-ui/kbd

Theming

The Kbd is a single part component.

export const Kbd: ComponentStyle<"Kbd"> = {
baseStyle: {
bg: ["blackAlpha.50", "whiteAlpha.50"],
borderWidth: "1px",
fontFamily: "mono",
fontSize: "0.8em",
fontWeight: "bold",
lineHeight: "shorter",
px: "0.4em",
py: "0.2em",
rounded: "md",
whiteSpace: "nowrap",
},
}
Copied!

Edit this page on GitHub

PreviousBadgeNextList