Introduction
Orbital is a Leptos component library for building focused, accessible product interfaces. The sections below define spacing, type, color, surfaces, and motion in concrete terms. Start with four principles that explain why those rules exist.Use the anchor rail to jump to a chapter, or browse individual components in the sidebar.Each bar width matches the SpacingSize pixel value. Use SpacingSize in Flex gap and SpacingInset for padding.
Small gaps group related controls; larger gaps separate sections.
Use BorderRadius on Box and other typed surface props.
Progressively thicker rules using StrokeWidth tokens.
ThemeColor maps every Orbital palette slot to a typed enum with css_var() and name().
Status colors always ship with descriptive text via MessageBar intents.
Shadow tokens from resting (--orb-elev-raised-sm) through modal (--orb-elev-modal).
Preset components (Caption1, Body1, Title3, Display) map to the Orbital type scale.
League Spartan (Base and Numeric), League Mono (Monospace), and Orbitron (Display) — self-hosted OFL fonts via FontFamily theme tokens.
FormLabel, FormHint, and SectionTitle are convenience wrappers around the type ramp.