Töne
Record-Typen und Protokolle mit kategorischer Färbung
Daten
Bordered mono marker for technical values (record types A/AAAA/CNAME, protocols) and active filters. Removable tags fire a cancelable tc-remove event and remove themselves; with an HTMX request (get/post) the request fires on tc-remove instead and the server answer replaces the markup. Delete/Backspace on the focused remove button removes too. For status prefer a badge.
Record-Typen und Protokolle mit kategorischer Färbung
aktive Filter mit Entfernen-Schaltfläche (Entf/Rücktaste)
Entfernen sendet eine Anfrage an den Server und ersetzt die Filterleiste
<tc-tag removable> im Markup; das abbrechbare Event tc-remove.
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
label | '' | – | Tag text when the default slot is empty. |
tone | 'neutral' | Categorical colour. | |
removable | False | – | Show a remove button. |
remove_label | '' | – | Accessible name of the remove button; defaults to "Remove <label>". |
disabled | False | – | Dim the tag and disable removing. |
mono | True | – | Mono font (technical values); false uses the body font. |
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.