Typen
horizontal, vertikal, mit Beschriftung und als Formularabschnitt
Bearbeiten Kopieren Löschen
Layout
1 px rule between sections, in toolbars and menus; never decoration. Spacing comes from the layout, not from the divider. "label" centres a short word ("oder"), "section" starts a form section with an uppercase accent label (level makes it a heading).
horizontal, vertikal, mit Beschriftung und als Formularabschnitt
„oder“ trennt Single Sign-on von der Anmeldung mit Passwort
<tc-divider> direkt im Markup, mit Beschriftung und als Abschnitt.
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
type | 'horizontal' | Horizontal, vertical, with label or form section. | |
tone | 'subtle' | Line colour: subtle (border/subtle) or default. | |
label | '' | – | Text for the label and section types; a label switches horizontal to "label". |
level | 0 | Section label as heading level 2-6 (0 = plain text). |
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.