Skip to content

02 · Components

Components

The nine components on the Figma Foundation & Components page, rebuilt as HTML and CSS on Bootstrap 5. Each variant is labelled with its Figma property name. Content and sizes come straight from the Figma file.

Components · 02 · button

Button

Four Figma variants: a filled pill ("next case study") with its hover state, and a text link ("check out the live app >") with its hover state.

Live

Hover them, or press Tab to see focus.

Variants

Property 1=Default142 × 35
Property 1=button-overHover
Property 1=button-link189 × 35
Property 1=button-link-hoverHover

Specs

PropertyDefault · button-overbutton-link · button-link-hoverToken
FontInter Regular 12pxInter Regular 12pxLabels/Button Labels · Labels/Link
Text#D9D9D9#003D20 → #0A714E + underlinetext/on-brand-muted · text/link · text/link-hover
Background#003D20 → #0A714Enoneaction/primary · action/primary-hover
Padding10px top and bottom, 26px left and right—
Radius99px--sds-radius-pill

Code

<a class="btn btn-primary" href="next.html">next case study</a>
<a class="btn btn-link" href="https://…">check out the live app &gt;</a>

Accessibility

  • 1.4.3Light Gray on Forest Green (Default) is 8.81:1 and passes. Light Gray on Emerald Green (button-over) is 4.27:1, which is below the 4.5:1 that 12px text needs. Consider white hover text (6.03:1).
  • 1.4.1The link variant shows hover with an underline as well as a colour change.
  • 2.5.8Both variants are 35px tall, above the 24px minimum target size.

Components · 03 · chit

Chit

Small sunflower pills for the role, status, type and tools labels in the intro card. Hover adds a 1px black border.

Variants

chit
Property 1=Default38 × 16
chit
Property 1=chit-hover1px black border

In use (from the intro card)

Product DesignerUX ResearcherShipped2026-2027B2B SaaSDesign SystemMulti-ProductFigmaCodexClaude Code

Specs

PropertyValueToken
FontInter Light 10px, #1E1E1ELabels/Chit Text · text/body
Background#FFCE1Bsurface/accent
Padding · radius2px 10px · 99px--sds-radius-pill
Gap between chits2px.sds-chit-row
Hover1px solid #000000 borderneutral/black

Code

<dd class="sds-chit-row">
  <span class="sds-chit">Product Designer</span>
  <span class="sds-chit">UX Researcher</span>
</dd>

Accessibility

  • 1.4.3Charcoal on Sunflower is 11.19:1, enough for the light 10px weight. Keep chits to one or two words.
  • 2.5.8Chits are 16px tall and only 2px apart, so they are labels, not buttons. If one becomes clickable, give it a 24px target.

Components · 04 · image-placeholder

Image placeholder

A light gray block with the word "placeholder" that holds space for images in the gallery and in each case-study section.

Example

image-placeholder480 × 320

Specs & code

Fill#D9D9D9surface/placeholder
Label"placeholder", Inter Light 10px, #1E1E1E, centredLabels/Chit Text
Radius · padding16px · 0 24px—
Heights used320 (gallery) · 394 (sections, desktop) · 299 / 207 on mobile—
<div class="sds-image-placeholder" role="img" aria-label="Image placeholder">placeholder</div>

Components · 05 · status-card

Status card

Three cream cards that tell the story in order: Problem, Solution, Results. Each has a sunflower icon circle with Frown, Smile or Check circle.

Variants

Problem

UI decisions were constantly re-debated. The component library blocked progress instead of enabling it. Inconsistencies slowed down delivery.

Solution

UI decisions were constantly re-debated. The component library blocked progress instead of enabling it. Inconsistencies slowed down delivery.

Results

UI decisions were constantly re-debated. The component library blocked progress instead of enabling it. Inconsistencies slowed down delivery.

Property 1=Default · status-card-solution · status-card-results205 × 245

Specs

PropertyValueToken
Background#EDE4D9surface/card
Size205px wide (min), 245px max height; full width and 200px tall on mobile—
Padding · radius24px · 24px—
Icon circle60 × 60, #FFCE1B, radius 30pxsurface/accent
IconFrown (Default) · Smile (solution) 48px · Check circle (results) 40px, #1E1E1Eicon/default
TitleGeist Bold 36px, #003D20Headers/H3
BodyInter Regular 12px, #1E1E1EParagraph/Paragraph

Code

<div class="sds-status-cards">
  <article class="sds-status-card">
    <div class="sds-status-icon"><img src="imgs/icons/frown.svg" width="44" height="44" alt=""></div>
    <h2 class="sds-h3">Problem</h2>
    <p>UI decisions were constantly re-debated. …</p>
  </article>
  <!-- Solution: smile.svg · Results: check-circle.svg -->
</div>

Accessibility

  • 1.4.3Forest Green on Cream is 9.89:1 and Charcoal on Cream is 13.26:1.
  • 1.1.1The icons repeat the card title, so they are decorative (alt="").

Components · 06 · intro-desktop

Intro card

A cream panel that opens the case study: an "intro" heading and paragraph on the left, and a project overview (Role, Status, Type, Tools) made of chit rows on the right. On mobile the two parts stack.

Variants

intro

decision problem. Every small UI choice turned into a discussion.
Patterns weren’t shared. Components couldn’t evolve.
“If it’s not in the library, we don’t build it.”
So teams either argued or built one-offs. Delivery slowed down.
And a lot of small UX fixes never made it onto the roadmap.
I pushed to rebuild the system in a way people would actually use.

Role
Product DesignerUX Researcher
Status
Shipped2026-2027
Type
B2B SaaSDesign SystemMulti-Product
Tools
FigmaCodexClaude Code
Property 1=Default776 × 290 · desktop and tablet

intro

decision problem. Every small UI choice turned into a discussion. Patterns weren’t shared. Components couldn’t evolve. “If it’s not in the library, we don’t build it.” So teams either argued or built one-offs. Delivery slowed down. And a lot of small UX fixes never made it onto the roadmap. I pushed to rebuild the system in a way people would actually use.

Role
Product DesignerUX Researcher
Status
Shipped2026-2027
Type
B2B SaaSDesign SystemMulti-Product
Tools
FigmaCodexClaude Code
Property 1=intro-mobileStacked

Specs

PartValueToken
Panel#EDE4D9, radius 8px, padding 14px 24pxsurface/card
Intro text431px wide: "intro" Geist Bold 36px #003D20, then Inter 12px #000000Headers/H3 · Paragraph/Paragraph
Project overview194px wide, 16px between groups, 2px under each heading—
Group headingsGeist SemiBold 24px: Role and Status #003D20, Type and Tools #000000Headers/H5
ChitsRole, Status, Type and Tools valueschit
MobileText above the overview, each with 8px padding—

Accessibility

  • 1.3.1The overview is a description list: each heading is a <dt> and its chits are the <dd>.

Components · 07 · results-stats

Results stats

A cream bar of four results in forest green. On mobile it becomes a 2 × 2 grid and the labels switch to Labels/Stats Text Moble.

Example

adoption rate
100%
average stars
4.7
downtime per month
0.2%
open defects
0
results-stats888 × 95
adoption rate
100%
average stars
4.7
downtime per month
0.2%
open defects
0
results-statsMobile · 378 × 257

Specs

PropertyValueToken
Background#EDE4D9, radius 16px, padding 8px 16px (16px 8px on mobile)surface/card
ValueGeist Bold 48 / 48px, #003D20Headers/H2
LabelGeist SemiBold 24px (desktop) · Inter SemiBold 16px (mobile), #003D20Headers/H5 · Labels/Stats Text Moble
LayoutSpace-between row, wraps with 24px row gap—

Code

<dl class="sds-results-stats">
  <div class="sds-stat"><dt class="sds-stat-label">adoption rate</dt><dd class="sds-stat-value">100%</dd></div>
  <div class="sds-stat"><dt class="sds-stat-label">average stars</dt><dd class="sds-stat-value">4.7</dd></div>
  <div class="sds-stat"><dt class="sds-stat-label">downtime per month</dt><dd class="sds-stat-value">0.2%</dd></div>
  <div class="sds-stat"><dt class="sds-stat-label">open defects</dt><dd class="sds-stat-value">0</dd></div>
</dl>

Accessibility

  • 1.3.1A description list keeps each value paired with its label. The value is drawn above the label with CSS, so screen readers still hear the label first.
  • 1.4.3Forest Green on Cream is 9.89:1.

Components · 09 · testemonial-card

Testimonial card

A tan bar with a forest-green closing quote mark and the quote in white.

Example

Here is a testimonial statement from a random person I’ve never met before
testemonial-card888 × 96 · name as spelled in Figma

Specs

PropertyValueToken
Background#BC9A71, radius 16px, padding 8px 16px, 96px min heightsurface/testimonial
Quote mark” Inter Bold 64px, #003D20Labels/Quotation
QuoteGeist SemiBold 24px, #FFFFFFHeaders/H5 · text/inverse

Code

<figure class="sds-testimonial-card">
  <div class="sds-quotation" aria-hidden="true">”</div>
  <blockquote>Here is a testimonial statement from a random person I’ve never met before</blockquote>
</figure>

Accessibility

  • 1.4.3White on Tan is 2.63:1. That fails even the 3:1 minimum for large text. Black on Tan (8.00:1) or Forest Green on Tan (4.74:1) would pass.
  • 1.3.1The decorative quote mark is hidden from screen readers.