Skip to content

Actions

shadcn primitive

Button

An action or link with a consistent visual hierarchy.

When to use it
One default (primary) button per action group. Secondary for the alternative, outline for neutral and toolbar actions, ghost for low emphasis and icon buttons, destructive for irreversible actions, and link inside text.

Variants

Sizes, icons, and disabled state

Usage

Use the Code tab to copy a complete example. MSM pages import shared components from @msm/ui; changes to those components appear here and in the application.

View registry item