Radarist project

Radarist / Design system

Documentation v0.1 · Product in progress

Design system contents

Components

Buttons and form actions

Use shared action compositions for creation, cancellation, and local settings feedback.

On this page

Purpose and usage

Use shared action compositions for creation, cancellation, and local settings feedback.

Use the shared actions at the end of creation forms and SettingsSaveBar within bounded settings forms.

Anatomy

Anatomy
PartContract
Primary actionAccent fill, accent-ink label, optional check icon.
Secondary actionBordered Cancel link returns to a defined destination.
Action groupRight-aligned after a divider, with consistent spacing.

Variants and configuration

Variants and configuration
ConfigurationBehavior
NewItemFormActionscancelHref, submitLabel, disabled.
SettingsSaveBarsaved and optional buttonLabel; submit behavior belongs to the parent form.

State coverage

State coverage
StateImplemented behavior
DefaultPrimary action is available.
HoverAccent-strong replaces the accent fill.
DisabledNative disabled plus cursor and opacity changes on creation action.
SavedSettingsSaveBar announces Changes saved through aria-live.

Interaction and responsive behavior

  • Retain native submit semantics.
  • The parent must provide validity, pending behavior, and real persistence.
  • Keep labels concise and specific: Create project, Save changes, or Create task.

Accessibility contract

  • Native buttons support keyboard activation.
  • Cancel is a link because it changes destination.
  • Do not infer loading behavior from disabled; the source does not define a shared loading-button variant.

Known gaps and readiness

There is no single exported Button primitive covering every application action. Loading, async failure, and retry states are not standardized across these compositions.

Composition example

<NewItemFormActions
  cancelHref="/projects"
  submitLabel="Create project"
  disabled={!title.trim()}
/>

Source references

Source references
FileResponsibility
app/components/new-item-form-layout.tsxCreation actions and class constants
app/components/settings-form-controls.tsxSettingsSaveBar

Examples from the app

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

Actions · Component detail · Light · Desktop · 1864 × 536 px
Save Bar · Component detail · Light · Desktop · 1864 × 394 px

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