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=dbf46c79db79e1b4
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/quiet-instrument/modes/figma.html?palette=dbf46c79db79e1b4 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: #ffffff;
--card: #ffffff;
--ink: #642d30;
--ink-mid: rgba(100, 45, 48, 0.7);
--ink-soft: #958e7a;
--ink-faint: #7a715a;
--chip: #fbfaf9;
--emboss: #f0eee9;
--night: #622b2e;
--graphite: #693f40;
--on-dark: #ffffff;
--mint-soft: #faf9f8;
--face-paper: #ffffff;
--face-paper-ink: #865758;
--face-glacier: #e1ddd4;
--face-glacier-ink: #916666;
--face-harbour-ink: #fcfbfa;
--chrome-light: #ffffff;
--chrome: #f5f4f2;
--chrome-dark: #c2bba8;
--lume: #97b789;
--mint: #caa413;
--aqua: #d4ac14;
--lume-ice: #cda71d;
--mint-ink: #443503;
--face-court: #bd9806;
--green: #897018;
--deep: #ad5d36;
--deep-dark: #8f5235;
--lume-lime: #63b1e8;
--face-court-ink: #78b6e4;
--face-harbour: #739265;
}
</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>