DS
Published-package documentation wired to the real DS runtime so the same routes reveal how tenant and engine reshape identical component contracts.
Rottay / modernPublished package
Premium Docs

Design System Showroom

Primary
#FFFFFF
Rottay
Radius
14px
Surface shape
DensitynormalPlatform Flagship
NavigatorLibrary map
8 sections212 routes
Foundations first, then primitives, patterns, structures, and surfaces. Keep this rail legible enough to scan without hunting.
Foundations4 documented routes
4
Tokens
Themes
109
93
24
36
3
1
2
Runtime fingerprintToken readout from the active provider chain.
Live DS
Runtime
PlatformRottay
Rottay / ModernPlatform Flagship
Primary
#FFFFFFSecondary #A0A0A5
Radius
Compact runtime evidence across 3+ token signals.
Published DS package · Pattern Library · Rottay / modernShared route metadata for the active runtime, kept inline so the shell reads like a thin header band.
Palette
#FFFFFFRottay
Chrome
Modernrenderer posture
Radius
14pxsurface shape
Density
normalPlatform Flagship
Patterns/Workflow/Approval Workflow
Workflow3 enginesRuntime-driven docs
ApprovalWorkflow

Approval Workflow

Visual approval chain with status tracking
Workflow patterns should accelerate decision making while keeping status and exceptions obvious.
How to read this page
Use the showroom switchers in the sidebar to change engine and tenant. The comparison grid below keeps the active tenant and swaps engines so we can inspect the pattern instead of page-local editorial chrome.
Live preview

Compare the same pattern across engines

Sidebar tenant drives thisApproval Workflow
This comparison is the documentation surface. If the pattern only reads well inside local chrome, we should fix the pattern or its preview runtime before teams style around it.

Preview heuristics

3 items
Compare density, action placement, and state readability before aesthetic flavor.
Judge the pattern itself, not any showroom-local framing around it.
If the pattern only works with extra chrome, the pattern or preview runtime still needs work.

Structure pairing

3 items
Consumption

Import and usage

Treat the pattern as a reusable task contract. Keep route-specific business rules outside and use these snippets as the fast-reading baseline.
Consumption contract

Usage notes

3 items
Import from the published package rather than building route-local wrappers first.
Pass data, config, and callbacks while keeping product semantics in the consuming app.
Escalate to a surface only once the whole screen contract is stable, not just the task module.

Surface fit

3 items
DecisionInboxSurface
API surface

Props

6 rows
Approval Workflow propsProp contracts stay readable across dark-first and light-first tenants.
6 props1 required5 optional
Fast readStart with required props, then scan defaults before dropping to per-row details.
Contract postureThis reference stays intentionally concise so the primitive contract remains scannable.
steps
Required
Optional
Optional
Optional
Optional
Optional
Related patterns

Continue within Workflow

Browse all
Approval Inbox3 engines
Inbox for pending approval requests
Moderation Gallery3 engines
Content moderation gallery with approve/reject actions
Operational Ledger3 engines
Tabular ledger for operational transactions
Staff scheduling matrix with drag assignment
Engines
Icons
Primitives93 documented routes
Display
Inputs
Feedback
Layout
Navigation
Overlay
PatternsCurrent section
49
Data
Forms
Visualization
Communication
Structures24 documented routes
Headers
Workspace
Shell
Record
Dashboard
Feedback
Surfaces36 documented routes
Admin
Data
Experience
Forms
Operations
Workspace
Verticals3 documented routes
Platform
Bit Hire
Evnto
Playground1 documented routes
Playground
Developers2 documented routes
Developers
14pxxl 18px
Density
normalBorder-light cards
Accent
Badge
roundedtop bar · solid dividers
PatternsWorkflowApproval Workflow

Approval Workflow

Active profilePlatform Flagship
Runtime postureRottay / modern
Patterns reference for Approval Workflow.
Runtime controls
TenantRottay
EngineModern
TierPatternReusable workflow or composition contract.
GroupWorkflowStart with queue clarity.
Best paired withCollectionHeaderUsually lands inside DecisionInboxSurface.
CollectionHeader
SelectionPreviewRail
TableToolbar
Engine comparisonEngine comparisonThe active tenant stays real while the same component is rendered by every engine. The wrapper stays intentionally quiet so engine differences come from the DS itself.
Rottay3 live enginesSame tenant, isolated engine
ClassicAnt Design
Live provider

What to evaluate

3 items
queue clarity
decision affordances
status transitions

Structure pairing

3 items
CollectionHeader
SelectionPreviewRail
TableToolbar

Surface fit

3 items
DecisionInboxSurface
OperationalSurface
KanbanSurface
OperationalSurface
KanbanSurface
ImportPublished package entrypoint, ready to copy.
tsx
1 line
Consumption
Runtime-aware snippet
import { ApprovalWorkflow } from '@rottay/design-system';
UsagePaste-ready example that shows the base contract first.
tsx
7 lines
Consumption
Runtime-aware snippet
<PatternApprovalWorkflow
  title="Approval flow"
  entity={entity}
  steps={steps}
  currentStep={currentStep}
  onApprove={approveRequest}
/>
Name
Type
Default
Required
Description
ApprovalStage[]
none
Ordered approval stages with counts, owners, and completion state.
currentStep
number
none
Index of the active step used to highlight the current review stage.
onApprove
() => void
none
Triggered when the current review stage is approved.
onReject
() => void
none
Triggered when the current stage is rejected or sent back.
className
string
none
Additional class names for product-specific composition and layout hooks.
style
CSSProperties
none
Inline overrides for one-off layout or diagnostic preview adjustments.
stepsRequired
ApprovalStage[]none
Ordered approval stages with counts, owners, and completion state.
currentStepOptional
numbernone
Index of the active step used to highlight the current review stage.
onApproveOptional
() => voidnone
Triggered when the current review stage is approved.
onRejectOptional
() => voidnone
Triggered when the current stage is rejected or sent back.
classNameOptional
stringnone
Additional class names for product-specific composition and layout hooks.
styleOptional
CSSPropertiesnone
Inline overrides for one-off layout or diagnostic preview adjustments.
Shift Matrix3 engines
Feedback
Workflow
Approval Inbox
Approval Workflow
Moderation Gallery
Operational Ledger
Shift Matrix
Navigation
Commerce
Customization
Identity
Shell
Workflow patternApprovalWorkflow
Check queue clarity, decision support, and whether state changes are driven by the shared DS contract.
Approval workflow
Venue contract
FinanceApproved
Budget approved
2
LegalPending
Escalation path stays available for enterprise tenants.
ModernDaisyUI
Live provider
Workflow patternApprovalWorkflow
Check queue clarity, decision support, and whether state changes are driven by the shared DS contract.

Approval workflow

Venue contract
FinanceApproved
Budget approved
LegalPending
Escalation path stays available for enterprise tenants.
RusticVanilla CSS
Live provider
Workflow patternApprovalWorkflow
Check queue clarity, decision support, and whether state changes are driven by the shared DS contract.
ImportTSX
Quick copy
UsageTSX
Quick copy

Approval workflow

Venue contract
FinanceApproved
Budget approved
LegalPending
Escalation path stays available for enterprise tenants.