-
Notifications
You must be signed in to change notification settings - Fork 1
Link
Lenny P. edited this page May 17, 2025
·
1 revision
The Link component renders a styled anchor (<a>) element with customizable tooltip support. It includes styles for hover and focus states, and adapts to dark mode.
<x-link href="#" target="_blank" tooltip="Open in a new tab">
Visit Website
</x-link>-
tooltip(string|null)
Tooltip text displayed when hovering over the link.
This Link component provides a consistent, accessible styled hyperlink with underline and color effects on hover and focus. It supports tooltips via Alpine.js and uses Tailwind CSS for styling, including dark mode compatibility.