Loria Component Library
A design system for collaborative intelligence
Design Tokens
Color
Semantic oklch colors, dark mode, high contrast
Space
Fluid spacing with clamp()
Typography
System fonts, fluid scaling
Motion
Expressive easing, reduced motion
Primitives
Text
Semantic text: headline, title, body, caption, label
Surface
Background container with grain texture
Stack
Flexbox layout (vertical/horizontal)
Spacer
Intentional whitespace
Icon
SVG container with a11y
Molecules
Badge
Status indicator (neutral/success/warning/error/info)
Button
Action trigger with loading state
Input
Form field with validation states
Avatar
Identity display with presence
Loria Patterns
Components mapped to Loria protocol entities
IdentityBadge
Ed25519 keypair display with truncation
ActorSwitcher
Multi-persona selector (actor-agnostic)
BiomeShell
Personal container layout
RhizomeTree
Branching visualization (diverges, never merges)
NodeCard
Atomic content unit (string | null)
RequestFlow
Consent-based turn-taking UI
Compositions
OnboardingFlow
6-step identity creation wizard
BiomeDashboard
Personal space overview
RequestThread
Consent-based conversation
Example Apps
Simple Chat
P2P messaging with RequestFlow
Personal Biome
Biome management dashboard
Request Manager
Request queue and consent flows