Skip to content

Search

Start typing to search.


Show all pages

Documentation

type

Link

An inline link in running text, underlined by the skin and animated on hover and focus.

CSS onlyPlain classes; no JavaScript in any stack.

Usage

Put the class on an <a> inside a paragraph or list.

Read the installation guide first, then browse the component pages for the classes you need.

HTML

Examples

Inside prose

Prose already underlines plain anchors; ca-link upgrades them with the skin's animated underline.

Every guide links onward: start with the theming guide to learn the tokens, then read how skins work before writing your own.

HTML

Guidance and accessibility

When to use

  • Use ca-link for anchors inside running text: paragraphs, list items, captions. It is the content link, not a button.
  • Inside ca-prose, plain <a> elements already get an underline; add ca-link to get the animated version.
  • For navigation (menus, breadcrumbs, pagination) use the dedicated components instead.

Accessibility

  • Keep a real <a href>; the class adds no behavior of its own.
  • The underline stays visible at rest, so the link does not depend on hover or color alone.
  • Hover and keyboard focus share the same feedback through the interact state, and the core keeps the shared focus ring.

Classes

Generated from the component contract. Parts use __, modifiers use --.

Classes of the link component
ClassKindUse it for
ca-linkComponentThe link itself: foreground text, an underline that thickens and takes the accent on hover and focus.

Skins

The same markup, dressed by each skin. Structure and behavior stay the same; only the look changes.

Base skin

Neutral grayscale starting point; product skins extend it and change what differs.

Read the installation guide first, then browse the component pages for the classes you need.

Calaca skin

The Calaca UI brand: hueso paper and tinta ink, cempasúchil marigold, rosa and jade.

Read the installation guide first, then browse the component pages for the classes you need.

Proof skin

Pilot skin pushed far from base: square, heavy, offset shadows, larger targets.

Read the installation guide first, then browse the component pages for the classes you need.

Crossview skin

The CrossView proofing table: cool ground, bond-paper sheets, rule-grey hairlines, one red mark.

Read the installation guide first, then browse the component pages for the classes you need.

Framework notes

Link the prebuilt stylesheet of your skin next to your brand theme. No build step.

HTML
<link rel="stylesheet" href="theme.css" />
<link rel="stylesheet" href="ca-base.css" />