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.
A single-page reference for typography, colors, components, code snippets and Accessibility guidelines. Built for modern SaaS dashboards with semantic HTML and scalable CSS.
Heading scale (Poppins) and body copy (DM Sans). Sizes scale fluidly across viewports.
ExampleBody 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.
<h1 class="text-h1">Heading 1</h1>
<p class="text-body">Body text.</p>
<p class="text-caption">Caption text.</p>
Primary, secondary, and neutral scale for backgrounds and text.
Example<article class="swatch swatch--primary">
<span class="swatch__label">Primary</span>
</article>
Primary, secondary, and disabled variants. Minimum tap target on small screens.
Example<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>
Default, focus, and error states. Each input has an associated label.
Example<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 -->
Single and multiple choice with clear labels. Use a fieldset and legend for groups.
Example<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>
Single-choice groups. Use one radio group per question and a fieldset with legend.
Example<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>
Native dropdown styled to match the design system. Use for a single choice from a list.
Example<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>
Multi-line text input for long-form content. Same focus and error patterns as text input.
Example<div class="input-group">
<label for="message">Message</label>
<textarea id="message" class="textarea" rows="4" placeholder="..."></textarea>
</div>
On/off switch built with a checkbox. No JavaScript required; state is native.
Example<div class="toggle-row">
<input type="checkbox" id="notifications" class="toggle" role="switch">
<label for="notifications">Enable notifications</label>
</div>
Container with shadow and padding. Use for dashboard tiles and content blocks.
ExampleCard body content. Layout reflows on narrow viewports.
Use when a card needs primary and secondary actions.
<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>
Pill-style labels for status, categories, or counts.
Example<span class="badge badge--primary">Primary</span>
<span class="badge badge--secondary">Secondary</span>
<span class="badge badge--neutral">Neutral</span>
Consistent spacing tokens. Boxes below show padding at each step.
Example/* Use CSS variables in your styles */
padding: var(--space-3);
margin-bottom: var(--space-4);
gap: var(--space-2);
Low-fidelity layout sketches. Use these patterns to plan structure before applying components and color.
View full-page wireframe example: Cancer Care (Figma)
Example<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>
A static mock of how components combine in a dashboard. All elements use this design system.
ExampleSummary and key metrics. Built with card, card__title, and card__body.
ActiveList or table content goes here. Uses the same card component.
Use card__actions for primary and secondary buttons.
<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>