New
Effects
How a surface looks: a border beam, liquid glass, aurora, glow, and gradients. Effects are opt in, never baked into a part. Add one class to a plain card or button and it wears the effect. Each reads only tokens, is plain HTML and CSS first, then React, keeps its text contrast, and has a calm version for anyone who asks their device for reduced motion.
One pair of colors drives every effect below. Set it once on a page, or leave it to follow the theme accent.
Calm: nothing moves, for people who ask their device for reduced motion. Solid: glass turns solid, for people who ask for less transparency.
Border beam
A light that runs around the edge to point at one thing: a new feature, the plan you recommend, the next step. It runs three times and rests, so it catches the eye without nagging. Hover or tab into it and it runs again.
Calm version: the light rests in place on the edge, still pointing the way.
ReadyAny website, Shopify, WordPress, Square, plain hosting
<link rel="stylesheet" href="tokens.css">
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="card.css">
<link rel="stylesheet" href="effects.css">
<!-- One pair of colors drives every effect. Set it once, on <html> or any wrapper:
<html style="--prism-fx-a: #F2A65A; --prism-fx-b: #E9A6C2">
Leave it out to use the theme accent. -->
<!-- Border beam: add prism-beam to any part. A light runs the edge three times, then rests.
It runs again on hover or when focus moves inside. -->
<article class="prism-card prism-card--outlined prism-card--comfortable prism-beam">
<div class="prism-card__inner">
<div class="prism-card__body">
<p class="prism-card__eyebrow">New</p>
<h3 class="prism-card__title">One core, any skin</h3>
<div class="prism-card__content">Effects are opt in. This card was plain until it wore a beam.</div>
</div>
</div>
</article>
<!-- On a button. -->
<button type="button" class="prism-btn prism-btn--secondary prism-beam">Get started</button>Liquid glass
A frosted surface with light catching its edge, for a card or panel that floats over color or images. The tint is strong enough that text on it passes AA over anything behind it, even pure black or white. True refraction is left out, since only some browsers can draw it.
Calm version: glass never moves, so it stays the same. For people who ask for less transparency, it turns solid.
Membership
Studio pass
ReadyAny website, Shopify, WordPress, Square, plain hosting
<link rel="stylesheet" href="tokens.css">
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="card.css">
<link rel="stylesheet" href="effects.css">
<!-- One pair of colors drives every effect. Set it once, on <html> or any wrapper:
<html style="--prism-fx-a: #F2A65A; --prism-fx-b: #E9A6C2">
Leave it out to use the theme accent. -->
<!-- Liquid glass: put it over something colorful, like a mesh or aurora.
Blur: add prism-glass--soft or prism-glass--strong. Text on it passes AA over any background.
It turns solid for people who ask their device for less transparency. -->
<div class="prism-mesh" style="padding: 32px; border-radius: 16px">
<article class="prism-card prism-card--comfortable prism-glass">
<div class="prism-card__inner">
<div class="prism-card__body">
<p class="prism-card__eyebrow">Membership</p>
<h3 class="prism-card__title">Studio pass</h3>
<div class="prism-card__content">Frosted, with light on the edge.</div>
</div>
</div>
</article>
</div>Aurora
Soft colored light drifting behind a hero or a welcome. The colors are mixed toward the page color, so text on top keeps its contrast. It moves for more than 5 seconds, so it always comes with a Pause button.
Calm version: the light holds still, and the Pause button goes away.
Made to be worn
One design system, any brand.
ReadyAny website, Shopify, WordPress, Square, plain hosting
<link rel="stylesheet" href="tokens.css">
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="card.css">
<link rel="stylesheet" href="effects.css">
<!-- One pair of colors drives every effect. Set it once, on <html> or any wrapper:
<html style="--prism-fx-a: #F2A65A; --prism-fx-b: #E9A6C2">
Leave it out to use the theme accent. -->
<!-- Aurora: soft light drifting behind content. Anything that moves longer than
5 seconds needs a way to stop it, so the Pause button always comes with it. -->
<section class="prism-aurora" aria-label="Welcome">
<div class="prism-aurora__sky" aria-hidden="true"></div>
<div class="prism-aurora__content">
<h2>Made to be worn</h2>
<p>One design system, any brand.</p>
</div>
<button type="button" class="prism-aurora__toggle">Pause<span class="prism-visually-hidden"> background motion</span></button>
</section>
<script>
document.querySelectorAll(".prism-aurora").forEach((a) => {
const btn = a.querySelector(".prism-aurora__toggle");
const word = btn.firstChild;
btn.addEventListener("click", () => {
const paused = a.classList.toggle("is-paused");
word.textContent = paused ? "Play" : "Pause";
});
});
</script>Glow
A soft halo in the effect color, to lift one part off the page or answer a hover. The focus ring stays as it is, so keyboard users never lose their place. Glow reads best on dark themes; on light ones it acts as a colored shadow.
Calm version: the glow is the same. When it comes on hover, it appears at once instead of fading in.
Recommended
Brand identity
ReadyAny website, Shopify, WordPress, Square, plain hosting
<link rel="stylesheet" href="tokens.css">
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="card.css">
<link rel="stylesheet" href="effects.css">
<!-- One pair of colors drives every effect. Set it once, on <html> or any wrapper:
<html style="--prism-fx-a: #F2A65A; --prism-fx-b: #E9A6C2">
Leave it out to use the theme accent. -->
<!-- Glow: a soft halo. Strength: prism-glow--soft or prism-glow--strong.
Its own color: --prism-glow-color. The focus ring stays as it is. -->
<article class="prism-card prism-card--outlined prism-card--comfortable prism-glow">
...your card...
</article>
<!-- Glow only on hover or keyboard focus. -->
<button type="button" class="prism-btn prism-btn--secondary prism-glow prism-glow--hover">Book a call</button>Gradients
Three still gradients. Gradient text for a name or a hero word, mixed with the text color so every letter keeps its contrast. A gradient border, a still ring on any part. And a mesh, soft color for a section, the aurora's quiet sibling. For a light that sweeps across text, see the Motion room.
Calm version: nothing here moves, so it stays the same.
Prism DSX
Gradient border
A still ring
Mesh
Soft color for a section
ReadyAny website, Shopify, WordPress, Square, plain hosting
<link rel="stylesheet" href="tokens.css">
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="card.css">
<link rel="stylesheet" href="effects.css">
<!-- One pair of colors drives every effect. Set it once, on <html> or any wrapper:
<html style="--prism-fx-a: #F2A65A; --prism-fx-b: #E9A6C2">
Leave it out to use the theme accent. -->
<!-- Gradient text, for headings. The colors are mixed with the text color so every letter keeps
its contrast. For small text, set --prism-gradient-ink to 45% (default 30%). -->
<h2><span class="prism-gradient-text">Prism DSX</span></h2>
<!-- Gradient border: a still ring on any part. -->
<article class="prism-card prism-card--comfortable prism-gradient-border">
...your card...
</article>
<!-- Mesh: still, soft color for a section or hero. -->
<section class="prism-mesh" style="padding: 48px 24px">
...your content...
</section>