Zurücksetzen-Button
Reset-Button (outlined) neben dem Speichern-Button und als Link-Variante.
Formulare
Outlined reset button with the translated default label "Reset".
Reset-Button (outlined) neben dem Speichern-Button und als Link-Variante.
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
variant | 'outlined' | Visual hierarchy. | |
size | 'md' | Height: sm 28, md 36, lg 44 px. | |
icon | '' | – | Leading Carbon icon. |
icon_right | '' | – | Trailing Carbon icon. |
label | '' | – | Button text (default "Reset"). |
block | False | – | Stretch to the container width. |
href | '' | – | Render a link with button styling instead of a <button>. |
type | 'reset' | Native button type. | |
disabled | False | – | Disable the button. |
loading | False | – | Show a spinner and block clicks. |
Zusätzliche Attribute (z. B. class, aria-*, data-*) und HTMX-Kurzformen (get, post, get_url, post_url, target, swap, trigger, confirm) werden an das Element „root“ durchgereicht.