Three movements
A white card with three outlined mini dials whose needles move in different ways on the same beat: a snap with a bounce, an eased sway and an even sweep, each with a name and a one-line note.
Part of the style
Quiet Instrument
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/quiet-instrument/modes/figma.html?palette=f4ceffd47876adfc
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/quiet-instrument/modes/figma.html?palette=f4ceffd47876adfc and pass that whole HTML document to the html_to_figma tool, so the part "Three movements" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--page: #7d837b;
--card: #838981;
--ink: #121212;
--ink-mid: rgba(18, 18, 18, 0.7);
--ink-soft: #363935;
--ink-faint: #1a1d19;
--chip: #6f756d;
--emboss: #686e67;
--night: #101010;
--graphite: #f3f2ef;
--on-dark: #80867e;
--mint-soft: #7a8078;
--face-paper: #737971;
--face-paper-ink: #252423;
--face-glacier: #60655e;
--face-glacier-ink: #2c2b29;
--face-harbour-ink: #6f756d;
--chrome-light: #60665e;
--chrome: #6c716a;
--chrome-dark: #4f524d;
--lume: #9b7667;
--mint: #9f7769;
--aqua: #c07257;
--lume-ice: #ab7562;
--mint-ink: #2b0a02;
--face-court: #a55f47;
--green: #3b0f01;
--deep: #280c02;
--deep-dark: #150300;
--lume-lime: #9f7769;
--face-court-ink: #a07e73;
--face-harbour: #3e1f13;
}
</style>
<section class="modes">
<div class="modes__card">
<h2 class="modes__title">Three ways to feel a beat.</h2>
<p class="modes__text">Snap to every click, sway like brass on a spring, or glide through the bar without a sound.</p>
<ul class="modes__list">
<li class="modes__item">
<svg class="modes__dial modes__dial--click" viewBox="0 0 200 200" aria-hidden="true" focusable="false">
<defs>
<rect id="modes-marker" class="modes__marker" x="96.5" y="5" width="7" height="21" rx="3.5" />
<g id="modes-ring">
<circle class="modes__ticks" cx="100" cy="100" r="87" pathLength="360" />
<use href="#modes-marker" />
<use href="#modes-marker" transform="rotate(30 100 100)" />
<use href="#modes-marker" transform="rotate(60 100 100)" />
<use href="#modes-marker" transform="rotate(90 100 100)" />
<use href="#modes-marker" transform="rotate(120 100 100)" />
<use href="#modes-marker" transform="rotate(150 100 100)" />
<use href="#modes-marker" transform="rotate(180 100 100)" />
<use href="#modes-marker" transform="rotate(210 100 100)" />
<use href="#modes-marker" transform="rotate(240 100 100)" />
<use href="#modes-marker" transform="rotate(270 100 100)" />
<use href="#modes-marker" transform="rotate(300 100 100)" />
<use href="#modes-marker" transform="rotate(330 100 100)" />
</g>
</defs>
<use href="#modes-ring" />
<line class="modes__needle" x1="100" y1="118" x2="100" y2="20" />
<circle class="modes__pivot" cx="100" cy="100" r="4" />
</svg>
<span class="modes__name">Click</span>
<span class="modes__note">Snaps on the beat</span>
</li>
<li class="modes__item">
<svg class="modes__dial modes__dial--swing" viewBox="0 0 200 200" aria-hidden="true" focusable="false">
<use href="#modes-ring" />
<line class="modes__needle" x1="100" y1="118" x2="100" y2="20" />
<circle class="modes__pivot" cx="100" cy="100" r="4" />
</svg>
<span class="modes__name">Swing</span>
<span class="modes__note">Sways like a pendulum</span>
</li>
<li class="modes__item">
<svg class="modes__dial modes__dial--glide" viewBox="0 0 200 200" aria-hidden="true" focusable="false">
<use href="#modes-ring" />
<line class="modes__needle" x1="100" y1="118" x2="100" y2="20" />
<circle class="modes__pivot" cx="100" cy="100" r="4" />
</svg>
<span class="modes__name">Glide</span>
<span class="modes__note">One turn for every bar</span>
</li>
</ul>
</div>
</section>
<style>
.modes {
padding: calc(var(--gutter) / 2) var(--edge);
}
.modes__card {
display: grid;
justify-items: center;
padding: var(--card-pad) var(--card-pad-s);
border-radius: var(--radius-card);
background: var(--card);
text-align: center;
}
.modes__title {
margin: 0 0 var(--space-s);
font-size: var(--head-s);
font-weight: 600;
line-height: 1.1;
letter-spacing: var(--tracking-head);
text-wrap: balance;
}
.modes__text {
max-width: 30rem;
margin: 0;
font-size: var(--text-l);
line-height: 1.3;
letter-spacing: -0.01em;
text-wrap: balance;
}
.modes__list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 12.5rem));
justify-content: center;
gap: clamp(0.75rem, 4vw, 3rem);
width: 100%;
margin: var(--space-l) 0 0;
padding: 0;
list-style: none;
}
.modes__item {
display: grid;
justify-items: center;
}
.modes__dial {
display: block;
width: 100%;
height: auto;
margin-bottom: var(--space-s);
}
.modes__ticks {
fill: none;
stroke: color-mix(in srgb, var(--ink-faint) 45%, transparent);
stroke-width: 9;
stroke-dasharray: 1.1 4.9;
stroke-dashoffset: 0.55;
}
.modes__marker {
fill: var(--card);
stroke: color-mix(in srgb, var(--ink-faint) 55%, var(--card));
stroke-width: 1.4;
}
.modes__needle {
stroke: var(--ink);
stroke-width: 2.6;
stroke-linecap: round;
transform-origin: 100px 100px;
}
.modes__pivot {
fill: var(--card);
stroke: var(--ink);
stroke-width: 2;
}
.modes__name {
font-size: var(--text-l);
font-weight: 500;
letter-spacing: -0.01em;
}
.modes__note {
color: var(--ink-mid);
font-size: var(--text-s);
line-height: 1.3;
text-wrap: balance;
}
/* One needle per temperament: a snap with a little bounce, an eased sway, an even sweep. */
.modes__dial--click .modes__needle {
animation: modes-click calc(var(--beat) * 2) var(--ease-spring) infinite;
}
.modes__dial--swing .modes__needle {
animation: modes-swing var(--beat) var(--ease-swing) infinite alternate;
}
.modes__dial--glide .modes__needle {
animation: modes-glide calc(var(--beat) * 4) linear infinite;
}
@keyframes modes-click {
0%,
36% {
transform: rotate(32deg);
}
50%,
86% {
transform: rotate(-32deg);
}
100% {
transform: rotate(32deg);
}
}
@keyframes modes-swing {
from {
transform: rotate(-32deg);
}
to {
transform: rotate(32deg);
}
}
@keyframes modes-glide {
to {
transform: rotate(360deg);
}
}
@media (max-width: 40rem) {
.modes__card {
padding-inline: var(--space-s);
border-radius: var(--radius-window);
}
.modes__name {
font-size: var(--text-m);
}
.modes__note {
font-size: var(--text-xs);
}
}
@media (prefers-reduced-motion: reduce) {
.modes__dial .modes__needle {
animation: none;
}
.modes__dial--click .modes__needle {
transform: rotate(32deg);
}
.modes__dial--swing .modes__needle {
transform: rotate(12deg);
}
.modes__dial--glide .modes__needle {
transform: rotate(48deg);
}
}
</style>