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/Identity/User Profile Card
Identity3 enginesRuntime-driven docs
UserProfileCard

User Profile Card

Compact user profile card with avatar and actions
Identity patterns should make a person instantly recognizable whether they appear in a dense list or a full detail view.
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 thisUser Profile Card
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
ListSurface
API surface

Props

6 rows
User Profile Card 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.
person
Required
Optional
Optional
Optional
Optional
Optional
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
PatternsIdentityUser Profile Card

User Profile Card

Active profilePlatform Flagship
Runtime postureRottay / modern
Patterns reference for User Profile Card.
Runtime controls
TenantRottay
EngineModern
TierPatternReusable workflow or composition contract.
GroupIdentityStart with recognizability.
Best paired withCollectionHeaderUsually lands inside ListSurface.
CollectionHeader
DetailHeader
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
recognizability
density tolerance
cross-context consistency

Structure pairing

3 items
CollectionHeader
DetailHeader
TableToolbar

Surface fit

3 items
ListSurface
DetailSurface
CollectionWorkspaceSurface
DetailSurface
CollectionWorkspaceSurface
ImportPublished package entrypoint, ready to copy.
tsx
1 line
Consumption
Runtime-aware snippet
import { UserProfileCard } from '@rottay/design-system';
UsagePaste-ready example that shows the base contract first.
tsx
5 lines
Consumption
Runtime-aware snippet
<UserProfileCard
  data={data}
  config={config}
  onAction={handleAction}
/>
Name
Type
Default
Required
Description
PersonSummary
none
Name, avatar, and role information rendered by the pattern.
density
"compact" | "comfortable"
"comfortable"
Controls how much identity detail is shown.
badge
ReactNode
none
Supplemental status or role indicator shown beside the identity.
onSelect
(personId) => void
none
Called when the identity card or row is activated.
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.
personRequired
PersonSummarynone
Name, avatar, and role information rendered by the pattern.
densityOptional
"compact" | "comfortable""comfortable"
Controls how much identity detail is shown.
badgeOptional
ReactNodenone
Supplemental status or role indicator shown beside the identity.
onSelectOptional
(personId) => voidnone
Called when the identity card or row is activated.
classNameOptional
stringnone
Additional class names for product-specific composition and layout hooks.
styleOptional
CSSPropertiesnone
Inline overrides for one-off layout or diagnostic preview adjustments.
Feedback
Workflow
Navigation
Commerce
Customization
Identity
User Profile Card
Shell
Identity patternUserProfileCard
Check recognizability and whether density changes still keep the person legible.
Jane Doe
Product Manager
Engineering
jane@example.com
Active
ModernDaisyUI
Live provider
Identity patternUserProfileCard
Check recognizability and whether density changes still keep the person legible.
J

Jane Doe

Product Manager

Engineering

jane@example.com

active
RusticVanilla CSS
Live provider
Identity patternUserProfileCard
Check recognizability and whether density changes still keep the person legible.
J
Jane Doe
Product Manager
Engineering
jane@example.com
active
ImportTSX
Quick copy
UsageTSX
Quick copy