U.S. flagA digital services project by Flexion

Design System

A USWDS-aligned design system built with CUBE CSS methodology. Semantic tokens, layout compositions, and accessible components.

Foundations

Tokens

Two-tier token architecture: USWDS palette tokens and semantic role-based tokens.

Typography

Font families, type scale, weights, line heights, measure, and heading hierarchy.

Compositions

Layout primitives from CUBE CSS: stack, cluster, center, sidebar, grid.

Base Classes

Shared CSS properties extracted into multi-selector rules.

Rules

Token rules, component rules, and accessibility invariants.

Data Visualizations

Accessibility-first guidance for charts, graphs, maps, and infographics.

Layout

Page layouts (content, sidebar-start, sidebar-end), breakout tracks, and container contracts that guide layouts toward correctness by default.

Feedback

Change Indicator

Small colored dot (with optional label) marking an item as modified, added, or removed.

workingCustom

Confidence Badge

Compact badge flagging extracted fields that need review. Stays hidden for high-confidence values and surfaces "Review" or "Low confidence" otherwise.

workingCustom

Preview Banner

Full-width warning banner shown on branch-qualified form pages to indicate a non-production preview and that submissions will reference the branch commit.

workingCustom

Semantic Diff

Grouped list of spec changes (added, removed, modified, moved, renamed) with a category badge and human-readable description per change.

workingCustom

Spec Diff Browser

Annotated single-column diff of a form spec. Renders the head tree with inline change badges, before/after rows for modified fields, and base-only entries spliced in for removed pages, groups, and fields. Tops the view with an overview strip of change counts and jump-links.

workingCustom

Variant Callout

Prominent callout announcing which LLM variant will run a task, with affordances to change the selection and see benchmarks.

workingCustom

Navigation

Branch Switcher

Dropdown for switching between branches with a filter and an inline create-branch form.

workingCustom

Spec Browser

Two-pane structured browser for DataCollectionSpec + FormSpec content. Sticky sidebar lists pages and groups; the content pane shows collapsible panels with page summaries and field tables.

workingCustom

Form Controls

Chat Panel

A conversational interface for interactive form filling.

workingCustom