RRenDSv0.13.0

Primitive

Link CSS-only

Variants of <a> beyond the default — subtle, plain (no underline), destructive, with leading/trailing icon, standalone block. The base <a> uses the classless default; reach for .ren-link when you need one of the variants.

About

Overview

Most links should just be <a href> — the base classless styling already handles color, hover and focus. Use .ren-link when you specifically need one of the variants below.

Live

Demo

<a href="/contact" class="ren-link">Get in touch</a>
<a href="/policy" class="ren-link-subtle">Privacy policy</a>
<a href="/delete" class="ren-link-destructive">Delete account</a>

Reference

API

ClassEffect
.ren-linkStandard link styling. Use when the inherited classless style needs explicit control.
.ren-link-subtleQuieter — secondary text color, underline only on hover.
.ren-link-plainNo underline. Use inside cards or list rows where the whole row is clickable.
.ren-link-destructiveDanger color. For "Delete", "Cancel subscription", etc.

Inclusive by default

Accessibility

  • Always use a real <a href>. A clickable <span> is not a link.
  • Don't remove the underline from prose links — it's the primary affordance for color-blind users. Reserve .ren-link-plain for self-evident click targets like card surfaces.
  • Use descriptive link text. "Click here" tells a screen reader user nothing.