Sonarist project

Sonarist / Design system

Documentation v1.0.0 · Work in progress · UI prototype with separate server foundations

Design system contents

Foundations

Shape, elevation and layering

Document Sonarist’s own rounded UI while keeping the surrounding portfolio documentation in its established square-cornered style.

On this page

Source geometry

Source geometry
FamilyTreatment
Buttons/fieldsrounded-xl, commonly 12px
Menus/dialogs/composerrounded-2xl, commonly 16px
Sender screening/new message grouprounded-3xl, commonly 24px
Message cards28px, 32px at sm
Avatars/badgesrounded-full
SheetsSquare outer shell; source cards inside retain their radii

Elevation meaning

Low shadows group cards and composer surfaces. Menus use shadow-xl or shadow-2xl. Dialogs use a dark 45% backdrop with 2px blur. Earlier thread messages overlap by 62px on phones and 68px at sm to make a layered stack; expansion removes the overlap around the selected card.

The source intentionally uses rounded geometry. Preserve it in captures and token documentation. This does not authorize adding rounded navigation, tags, or buttons to the portfolio site.

Layer contract

  • Header has z-40; its search/navigation overlays use z-50.
  • Queue menus and filters layer over the scrolling queue.
  • Message stack uses isolate and increasing z-index.
  • Native dialog showModal places the dialog in the browser top layer.
  • Capture the union of a trigger and popup when the popup falls outside the parent’s box.

Source references

Source references
FileResponsibility
components/ui/primitives.tsxPrimitive radii
components/ui/dialog.tsxDialog backdrop/elevation
components/inbox/conversation-detail.tsxMessage geometry and overlap

Examples from the app

Actual Sonarist components with fictional conversations, people, example.com addresses and simulated operational states. Captured at 2× resolution or higher. Select an image to inspect it full size.

Message Stack · Component detail · Light · Desktop · Expanded · 1680 × 1332 px
Queue Menu · Component detail · Light · Desktop · Open · 552 × 612 px
Merge · Component detail · Light · Desktop · 1152 × 1316 px
Merge · Component detail · Light · Desktop · Selected · 1152 × 1504 px

Source audit: 2026-10-08 · Revision 10f45d1377b5 · Documentation v1.0.0