Navigation

Link

A text link on an anchor or a button, in a sentence or standing alone.

Class nameTypeDescription
linkplf:linkComponentA text link, on an anchor or a button
link-mutedplf:link-mutedStyleMuted until hovered, for an action that stands alone

Default

In a sentence, the accent and the medium weight set the link apart, without an underline.

Already have an account? Sign in

Muted

For an action that stands alone, such as a password reset beside its field.

On a button

An action that runs a script stays a <button>; link drops the button’s own box. Disabled, it turns muted.

React

Link from @pelatform/react renders this anchor from its props, and linkClass() gives a <button> or a router’s Link the same classes.

Prop Values Default
variant muted, for an action that stands alone The accent

The other props are an anchor’s, className and ref included; linkClass() takes variant. Beside Next.js’s Link, import this one under another name, such as import { Link as TextLink } from '@pelatform/react', or give next/link the classes with linkClass().

CSS variables

Override on a root or a single link.

Variable Default
--plf-link-color --plf-color-primary-text; --plf-color-text-muted with link-muted
--plf-link-hover-color primary-text with 10% of the text color; the text color with link-muted

Built with Pelatform UIv0.1.0

Components

Getting started

Foundations

Components

Actions

Data display

Navigation

Feedback

Data input

Layout

Advanced

Integrations

Blocks

Application

Authentication

Icons