Text-styled hyperlink. Always renders as <a>. Use this for inline text links, 'read more' patterns, nav links, and any clickable text that is NOT a button. For filled/outlined CTAs use Button instead.
All styling goes in props.className as a single Tailwind utility string. Defaults to DaisyUI `link link-hover`. No button chrome by default. Optional inline icon via props.icon.
Default inline link — underlines on hover
{
"canDelete": true,
"canEditName": true,
"text": "Learn more",
"className": "link link-hover",
"action": {
"type": "link-url",
"url": "https://example.com"
}
}Common end-of-card 'read more' pattern with trailing arrow
{
"canDelete": true,
"canEditName": true,
"text": "Read more",
"icon": {
"value": "ref-icon:tb/TbArrowRight",
"position": "right",
"size": "w-4 h-4"
},
"className": "link link-hover link-primary font-semibold",
"action": {
"type": "link-page",
"pageId": "page_blog_post"
}
}Top-nav style text link with no underline until hover
{
"canDelete": true,
"canEditName": true,
"text": "Features",
"className": "link link-hover text-base-content/80 hover:text-primary font-medium",
"action": {
"type": "scroll-to",
"anchor": "features"
}
}Contact email link
{
"canDelete": true,
"canEditName": true,
"text": "hello@example.com",
"className": "link link-hover link-primary",
"action": {
"type": "email",
"email": "hello@example.com"
}
}