ButtonSize

type
primitives/Button/Button.tsx:16

Button scale.

md is 36px tall, which is comfortable with a pointer. lg is 44px, the size a finger needs, and is what a control used standing up at a counter should be. sm is for dense chrome.

Definition

type
type ButtonSize = "md" | "sm" | "lg"

"md" | "sm" | "lg"