Return to Sky UI homepage
import { Link } from '@sky-uk/ui-core';

Props

ProptypeDefaultDescription
$appearancestringundefinedSet $appearance to light for an inverted colourway for use on dark backgrounds.
$inlinebooleanfalse

Inline links inherit font size and weight. Inline link style can be set using the $inline property.

$hoverbooleanfalse

Force the hover state to show, useful when rendering a "faux" link when the parent element is clickable.

$focusedbooleanfalse

Force the focus state to show, useful when rendering a "faux" link when the parent element is clickable.

Chevron

Thechevron prop has been deprecated. Instead you can use Icon component to compose link with chevron. It gives flexibility of alignment and icon to use.

Accessibility

The Link is a styled HTML a element and should always be used with an href. When using the Link component without an href, please make sure to use as="button" to ensure the correct semantic element is used.

System Modifiers

The TextLink component also supports the props applied using the following system modifiers: