Design System
Buttons
Primary, secondary, ghost, and destructive actions built from shared templ primitives.
Primary action
Used for the main action in a page section or modal footer.
@ui.Button(ui.ButtonProps{
Label: "Nouveau projet",
Variant: ui.ButtonVariantPrimary,
Size: ui.SizeMD,
Type: "button",
})Danger action
Used for irreversible actions after explicit confirmation.
@ui.Button(ui.ButtonProps{
Label: "Supprimer",
Variant: ui.ButtonVariantDanger,
Size: ui.SizeLG,
Type: "submit",
})