Typography

Heading scale (Poppins) and body copy (DM Sans). Sizes scale fluidly across viewports.

Example

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Body text: The quick brown fox jumps over the lazy dog. Use for paragraphs and default content.

Caption text: Supporting labels, hints, and metadata. Smaller and muted.

Code
<h1 class="text-h1">Heading 1</h1>
<p class="text-body">Body text.</p>
<p class="text-caption">Caption text.</p>

Color palette

Primary, secondary, and neutral scale for backgrounds and text.

Example
Primary
Primary hover
Secondary
Neutral 50
Neutral 100
Neutral 200
Neutral 400
Neutral 600
Neutral 800
Neutral 900
Code
<article class="swatch swatch--primary">
  <span class="swatch__label">Primary</span>
</article>

Buttons

Primary, secondary, and disabled variants. Minimum tap target on small screens.

Example
Code
<button type="button" class="btn btn--primary">Primary</button>
<button type="button" class="btn btn--secondary">Secondary</button>
<button type="button" class="btn btn--primary" disabled>Disabled</button>

Input fields

Default, focus, and error states. Each input has an associated label.

Example
This field is required.
Code
<div class="input-group">
  <label for="email">Email</label>
  <input type="text" id="email" class="input" placeholder="you@example.com">
</div>
<!-- Error state: add class="input--error", aria-invalid="true", and error message -->

Checkbox

Single and multiple choice with clear labels. Use a fieldset and legend for groups.

Example
Notify me by
Code
<div class="checkbox-row">
  <input type="checkbox" id="terms" class="checkbox">
  <label for="terms">I agree to the terms</label>
</div>
<fieldset>
  <legend>Notify me by</legend>
  <div class="checkbox-group">...</div>
</fieldset>

Radio

Single-choice groups. Use one radio group per question and a fieldset with legend.

Example
Delivery method
Code
<fieldset>
  <legend>Delivery method</legend>
  <div class="radio-group">
    <div class="radio-row">
      <input type="radio" id="opt1" class="radio" name="delivery" value="standard">
      <label for="opt1">Standard</label>
    </div>
  </div>
</fieldset>

Select

Native dropdown styled to match the design system. Use for a single choice from a list.

Example
Code
<div class="input-group">
  <label for="country">Country</label>
  <select id="country" class="select">
    <option value="">Select a country</option>
    <option value="us">United States</option>
  </select>
</div>

Textarea

Multi-line text input for long-form content. Same focus and error patterns as text input.

Example
This field is required.
Code
<div class="input-group">
  <label for="message">Message</label>
  <textarea id="message" class="textarea" rows="4" placeholder="..."></textarea>
</div>

Toggle

On/off switch built with a checkbox. No JavaScript required; state is native.

Example
Code
<div class="toggle-row">
  <input type="checkbox" id="notifications" class="toggle" role="switch">
  <label for="notifications">Enable notifications</label>
</div>

Card

Container with shadow and padding. Use for dashboard tiles and content blocks.

Example

Card title

Card body content. Layout reflows on narrow viewports.

Card with actions

Use when a card needs primary and secondary actions.

Code
<article class="card">
  <h3 class="card__title">Card title</h3>
  <p class="card__body">Card body content.</p>
  <div class="card__actions">
    <button type="button" class="btn btn--primary">Primary</button>
    <button type="button" class="btn btn--secondary">Secondary</button>
  </div>
</article>

Tag / Badge

Pill-style labels for status, categories, or counts.

Example
Primary Secondary Neutral
Code
<span class="badge badge--primary">Primary</span>
<span class="badge badge--secondary">Secondary</span>
<span class="badge badge--neutral">Neutral</span>

Spacing scale

Consistent spacing tokens. Boxes below show padding at each step.

Example
space-1
space-2
space-3
space-4
space-5
space-6
Code
/* Use CSS variables in your styles */
padding: var(--space-3);
margin-bottom: var(--space-4);
gap: var(--space-2);

Wireframes

Low-fidelity layout sketches. Use these patterns to plan structure before applying components and color.

View full-page wireframe example: Cancer Care (Figma)

Example
App bar / Header
Card 1
Card 2
Card 3
Code
<div class="wireframe-demo">
  <header class="wireframe-demo__bar">App bar</header>
  <div class="wireframe-demo__body">
    <nav class="wireframe-demo__side">Sidebar</nav>
    <main class="wireframe-demo__main">
      <div class="wireframe-demo__block">Card 1</div>
    </main>
  </div>
</div>

Example application

A static mock of how components combine in a dashboard. All elements use this design system.

Example

Dashboard

Overview

Summary and key metrics. Built with card, card__title, and card__body.

Active

Recent activity

List or table content goes here. Uses the same card component.

Actions

Use card__actions for primary and secondary buttons.

Code
<div class="example-app">
  <header class="example-app__bar">
    <h3 class="example-app__title">Dashboard</h3>
    <button class="btn btn--primary">New item</button>
  </header>
  <div class="example-app__main">
    <article class="card">
      <h3 class="card__title">Title</h3>
      <p class="card__body">...</p>
      <div class="card__actions">
        <button class="btn btn--primary">Save</button>
        <button class="btn btn--secondary">Cancel</button>
      </div>
    </article>
  </div>
</div>