Components
Patterns for composing content elements across the docs.
Section Headings
Every H2 gets a shape prefix. The shape is an inline <img> at 14px, vertically centered.
Getting Started
Key Features
Architecture
Configuration
Community
Feature Cards
Grid of cards with shape accent, title, and description. Used for overviews and principle lists.
Stat Blocks
Horizontal row of key metrics. Shape serves as a bullet marker.
Status Row
Inline shapes as status indicators.
Consensus — operational
gRPC API — operational
DA Layer — syncing
Sharding — planned
Code Blocks
Fenced code blocks use the #111111 background with monospace font.
// Content-addressed project ID
let project_id = blake3::hash(&message_bytes);cargo run --bin node -- --port 50051 --p2p-port 50052Global State Root
├── Project A Root (BLAKE3 of sorted key-value diffs)
├── Project B Root
└── ...
Tables
Standard markdown tables for structured data. Borders and backgrounds come from theme tokens.
| Message Type | Phase | Scope |
|---|---|---|
PROJECT_CREATE | Serial | SIGNING |
KEY_ADD | Serial | OWNER |
COMMIT_BUNDLE | Parallel | AGENT |
REF_UPDATE | Parallel | AGENT |
COLLABORATOR_ADD | Parallel | SIGNING |
Lists with Shapes
Use shapes as custom bullet markers for feature lists.
Callout Boxes
Bordered containers for important information, keyed by shape.
cargo test test_name to run a single test by name for fast iteration.
Architecture Diagrams
ASCII diagrams in fenced code blocks, referenced by surrounding shapes.
┌─────────────────────────┐
│ Clients │ grpc-web / gRPC
│ (Browser, CLI, SDK) │
└───────────┬─────────────┘
│
┌───────────▼─────────────┐
│ Validator Node │
│ ┌────────┐ ┌─────────┐ │
│ │ gRPC │→│ Mempool │ │
│ └────────┘ └────┬────┘ │
│ ┌───▼────┐ │
│ │Simplex │ │
│ │BFT │ │
│ └───┬────┘ │
│ ┌───▼────┐ │
│ │ State │ │
│ └────────┘ │
└──────────────────────────┘
Shape Pairing Guide
When writing docs pages, assign shapes to H2s consistently within a page. The recommended cycle:
| Position | Shape | Color | Typical meaning |
|---|---|---|---|
| 1st H2 | #00EEBE | Primary / main concept | |
| 2nd H2 | #7A3BF7 | Secondary / supporting | |
| 3rd H2 | #FA7CFA | Technical detail | |
| 4th H2 | #FAD030 | Configuration / options | |
| 5th H2 | #FE0302 | Community / coda |
For pages with more than 5 sections, pull from the extended shape set: diamond, hexagon, bolt, shield, sparkle, leaf, flame, etc.