Link

The Link component outputs a link to a URL.

Basic link

API

Parameter Default Type Description
span string The wrapper element.
Illuminate\Support\HtmlString|Illuminate\View\ComponentSlot|string|null The optional slot content.
null string|false|null The target URL.
_top string The link target.
true boolean Whether to keep the content when href is empty.
true boolean Whether to keep the wrapper when href is empty.
null string|false|null Optional rel attribute value.
false boolean Whether to disable component styling.

CSS API

Variable Default Type Values Description
var(--color--primary) color - Primary
var(--color--background-contrast) color - Used for text and icons on background with less contrast.
90 range - Adjusts the mix amount of the link color in hover, active, and visited states.
50 range - Adjusts the mix amount of the link color in hover, active, and visited states.