Components/ButtonButtonA clear next step. Primary, secondary, and quiet actions, with the same Foundry finish.Live previewDeploy sitePreviewCancelInstallationAdd the component to your Axonyx project.TerminalCopycargo ax add buttonUsageAxonyxCopyimport { Button } from "@axonyx/ui/foundry/Button.asx" <Button variant="primary">Save changes</Button>SizesUse compact controls in toolbars and larger controls for prominent actions.Small · Default · LargeSmallDefaultLargeAPI contractPropValuesPurposevariantprimary, secondary, ghostVisual emphasissizesm, default, lgControl densitytypebutton, submit, resetNative form behaviorsurface / borderforgedOptional material treatmentUse LinkButton or an anchor for navigation. For the new finish, apply adata-foundrycontainer as described inTheming.All componentsNext: Card →