Radarist project

Radarist / Design system

Documentation v0.1 · Product in progress

Design system contents

Components

Radar and Notes view switch

Switch representation of the same selected day without losing its date context.

On this page

Purpose and usage

Switch representation of the same selected day without losing its date context.

Use only when the views represent the same daily context, not to navigate unrelated product destinations.

Anatomy

Anatomy
PartContract
GroupChoose the day view label.
OptionIcon plus Radar or Notes label.
Selected optionInk fill, canvas label, aria-pressed true.

Variants and configuration

Variants and configuration
ConfigurationBehavior
valueradar or notes.
onChangeParent controls the selected view and any scroll behavior.

State coverage

State coverage
StateImplemented behavior
RadarDaily time-based agenda visible.
NotesSelected day’s running notes visible.
SelectedOne pressed button; no tab-role assumption.

Interaction and responsive behavior

  • Use the same selectedDate for both views.
  • A Notes selection requests scrolling to the notes end in RadarWorkspace.
  • Keep both choices visible on narrow screens.

Accessibility contract

  • role=group with named buttons and aria-pressed.
  • These are native buttons rather than an ARIA tabs implementation.
  • Both labels remain visible; icons are decorative.

Known gaps and readiness

The source does not implement tablist arrow-key behavior, and this documentation does not prescribe that behavior as already present.

Composition example

<RadarViewToggle value={view} onChange={setView} />

Source references

Source references
FileResponsibility
app/components/radar-view-toggle.tsxTwo-option controlled view group
app/components/radar-workspace.tsxDate/view orchestration

Examples from the app

Actual Radarist components with fictional data. Captured at 2× resolution or higher. Select an image to inspect it full size.

View Toggle · Component detail · Light · Desktop · 1864 × 218 px
Running Notes · Screen · Light · Desktop · Notes · 2320 × 2000 px

Source audit: 2026-10-07 · Revision 0103e2549959 · Documentation v0.1