Fernlight/Components/Button
Approved See in screens

Button

ApprovedActions · v1.0.0

Triggers an action. Use one primary button per view; pair it with a secondary when there is an alternative.

actions/button--default
NameDescriptionDefaultControl
variantVisual weight.'primary' | 'secondary' | 'ghost' | 'danger'primary
sizemd and lg meet the 44px touch target.'sm' | 'md' | 'lg'md
labelButton text.string'Create workspace'
loadingShows a spinner and blocks repeat clicks.booleanfalse
disabledPrefer explaining why it is unavailable.booleanfalse