Design System
Form Fields
Labeled controls with optional hint and error messaging.
Field with validation
Wraps a control with label and inline error feedback.
Le nom est requis
@ui.FormField(ui.FormFieldProps{
Label: "Nom",
For: "catalog-name",
Field: ui.Input(ui.InputProps{
ID: "catalog-name",
Name: "name",
Placeholder: "Nom du projet",
Type: "text",
}),
Error: "Le nom est requis",
})