Button
A button performs an action. Keep navigation in Link and let labels describe the result of activation.
Design notes
Primary actions use ink and paper. Secondary and text appearances share the same sizes; scaleOnPress can disable the press transform while retaining color feedback.
CloseButton is the fixed icon-only close action. Supply its accessible label; it always renders type="button".
Button design
Inspect the original component, variants and visual details.
Playground
API
Button
A native action button with loading and press feedback. Native button attributes and ref are forwarded; type defaults to button.
No custom imperative methods. Event callbacks are listed as properties.
CloseButton
An icon-only close action. Always renders a native type="button" control; label supplies its accessible name.
No custom imperative methods. Event callbacks are listed as properties.