Skip to content
LSD Framework
Components · primitive

Mark. Draw a line under the word that matters.

Six ways to call attention without shouting. Solid blocks for matches and search hits, underlines that draw themselves in, brush strokes for editorial moments, and clip-path reveals timed to enter the viewport.

01

Solid highlight

A flat tinted background — the classic search-match feel.

Aurora is the timeline; surfaces are the canvas; behaviours are the event wiring between them. Each piece is its own concern, and the framework only insists that they share a token vocabulary.

02

Animated underline

Stroke draws in from the start of the inline-axis.

The point of a token isn’t the value — it’s the contract. Once a shape has a name, every consumer can read it, every theme can override it, and every change is observable.

03

Squiggle underline

SVG path tiled along the baseline. Editorial, not error-marker.

The grid was never the point; the rhythm was. Spacing tokens give you the beats, and the layout follows.

04

Marker / brush

Gradient with a slight skew. Reads as a swipe of paint rather than a fill.

Some words deserve a brush stroke. Others deserve a cool sweep. And a few deserve a hot magenta just to make sure you noticed.

Color tokens

accent accent-2 accent-3
05

Clip-path reveal

Width opens from 0 to 100% — like running a highlighter left-to-right.

Watch the highlight draw itself across the page.

06

Reveal on scroll-in

Same reveal, gated by IntersectionObserver. Scrolls into view, then plays.

The line waited until you got here, then drew itself in. Subtle on a long page, decisive in a short one.

Usage

View HTML
<p>Aurora is <mark class="mk-solid">the timeline</mark>.</p>
<p>Tokens are the <mark class="mk-underline">contract</mark>.</p>
<p>Some words deserve a <mark class="mk-brush t-3">brush stroke</mark>.</p>