Text-styled hyperlink. Always renders as <a. Defaults to DaisyUI link link-hover (no button chrome). Optional inline icon (common pattern: trailing arrow on "read more" links).
Text-styled hyperlink. Always renders as <a>. Defaults to DaisyUI link link-hover (no button chrome). Optional inline icon (common pattern: trailing arrow on "read more" links).
Link only supports the navigational link action — for show-hide, open-modal, cart, theme actions, use Button.
| Prop | Notes |
|---|---|
text | Required. |
icon | Optional { value, only?, position?, size?, color? }. only: true requires aria-label. |
action | Only { type: "link", href, target? }. See actions-and-handlers for href shapes. |
attrs, handlers | Standard. |
className, root | Defaults to link link-hover. |
href shapes (unified link action)ref:page_<id> — internal page (renderer rewrites to correct path).ref:page_<id>/{{item.slug}} — internal page with dynamic suffix./shop?category=tees — internal URL with query.https://example.com — external (pair with target: "_blank").#features — in-page anchor (renderer attaches preventDefault + smooth scroll).mailto:hello@example.com?subject=Inquiry — email.tel:+15551234567 — phone.mailto:/tel:.btn chrome, plus all non-link action types.visited: + hover:underline on Button (not Link with btn). For tel/mailto in Text HTML use text-primary + visited:text-primary.