Link
Links preserve native navigation semantics, including opening another tab and copying the destination.
Design notes
Link.Container owns navigation and hover activation; Link.Underline decorates only the selected text. Primary and secondary appearances reuse button styling without press scaling.
Playground
Account settings
Hover anywhere on this card to underline only its title.
Link destination. Navigation uses a native anchor; the icon stays at the upper right of its content.
API
Link
A styled anchor with optional corner arrow and hover line. Primary and secondary appearances reuse button styles without press scaling. Native anchor attributes are forwarded.
No custom imperative methods. Event callbacks are listed as properties.
Link.Container
A semantic anchor that provides hover, focus and size context without button appearance. Compose Link.Underline inside it.
No custom imperative methods. Event callbacks are listed as properties.
Link.Underline
A span drawing a straight underline when its Link.Container is hovered or focus-visible. Small and medium sizes use the same line thickness.
No custom imperative methods. Event callbacks are listed as properties.