Typen
Inline-Links im Fließtext und Standalone-Links mit Pfeil
Die Zugangsdaten finden Sie in der
Aktionen
Navigation, not an action (use a button for actions). Inline links sit in running text and are always underlined; standalone links stand on their own with a trailing arrow and underline on hover. Sizes: sm 13 px (tables, meta), md 14 px, lg 16 px.
Inline-Links im Fließtext und Standalone-Links mit Pfeil
Die Zugangsdaten finden Sie in der
SM für Tabellen und Meta, MD als Standard, LG für Einstiege
aktuelle Seite und deaktivierte Links
<tc-link> direkt im Markup, ohne Template-Tag; Inline, Standalone und deaktiviert.
Weitere Hinweise stehen im
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
href | '#' | – | Target URL. |
label | '' | – | Link text when the default slot is empty. |
type | 'inline' | Inline (underlined, in text) or standalone (with arrow). | |
size | 'md' | Text size: sm 13, md 14, lg 16 px. | |
icon | '' | – | Trailing Carbon icon; standalone links default to arrow--right. Use "none" to hide. |
icon_left | '' | – | Leading Carbon icon. |
external | False | – | Open in a new tab (adds rel=noopener and a screen-reader hint). |
disabled | False | – | Render a non-navigating, dimmed link (aria-disabled). |
current | False | – | Mark as the current page (aria-current="page"). |
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.