DS
Premium Docs

Design System Showroom

Published-package documentation wired to the real DS runtime so the same routes reveal how tenant and engine reshape identical component contracts.
Rottay / modern
Published package
Primary
#0A0A0A
Rottay
Radius
14px
Surface shape
DensitynormalPlatform Flagship
NavigatorLibrary map
8 sections
212 routes
Foundations first, then primitives, patterns, structures, and surfaces. Keep this rail legible enough to scan without hunting.
Foundations4 documented routes
4
Tokens
Themes
Engines
Icons
109
97
48
Data
Forms
Visualization
Communication
Workflow
Navigation
Misc
21
Headers
Workspace
Record
Dashboard
Feedback
36
Admin
Data
Experience
Forms
Operations
Workspace
3
Platform
Bit Hire
Evnto
1
Playground
2
Developers
Runtime fingerprintToken readout from the active provider chain.
Live DS
Runtime
Platform
Rottay
Rottay / ModernPlatform Flagship
Primary
#0A0A0ASecondary #6B6B6B
Radius
14pxxl 18px
Density
normalBorder-light cards
Accent
Badge
Compact runtime evidence across 3+ token signals.
Published DS package · Component Layer · Rottay / modernShared route metadata for the active runtime, kept inline so the shell reads like a thin header band.
Palette
#0A0A0ARottay
Chrome
Modernrenderer posture
Radius
14pxsurface shape
Density
normalPlatform Flagship
Primitives
Overlay
Alert Dialog

Alert Dialog

Active profilePlatform Flagship
Runtime postureRottay / modern
Primitives reference for Alert Dialog.
Runtime controls
TenantRottay
Reference summaryModal dialog requiring user acknowledgementOverlay primitives should interrupt cleanly, layer confidently, and leave clear escape routes.
How to read this pageUse the showroom switchers in the sidebar to change engine and tenant, then judge this primitive in the live preview before styling around it locally.
At a glanceThe meta cards below are the quickest read on how this primitive behaves across the current runtime.
Tier
PrimitiveThe lowest reusable UI contract.
Category
OverlayLayered interaction is where the DS either feels premium or collapses into clutter.
Best paired with
actionsEscalate to patterns or surfaces when workflow logic starts dominating.
Use it when
PrimitivesCurrent section
Display
Inputs
Feedback
Layout
Navigation
Overlay
Adaptive Overlay
Confirm Dialog
Context Menu
Dropdown
Hover Card
Modal
Popconfirm
Popover
Sheet
Tour
Watermark
Patterns48 documented routes
Structures21 documented routes
Surfaces36 documented routes
Verticals3 documented routes
Playground1 documented routes
Developers2 documented routes
roundedtop bar · solid dividers
EngineModern
revealing extra context
confirming risk
supporting temporary flows
Review checklist
anchoring
dismiss patterns
attention management
Common pairings
actions
menus
guided onboarding
Live preview

Compare the same primitive across engines

Sidebar controls drive this
AlertDialog
This is the primary runtime verification surface for the component. Engine and tenant changes should land in the rendered DS primitive itself, not in showroom-local wrapper styling.
Preview heuristics
Compare hierarchy, spacing, and interaction feedback before any page-level styling.
The rendered primitive should carry the engine and tenant differences by itself.
If it only looks right inside local wrapper chrome, the primitive or preview needs more work.
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.
Rottay
3 live engines
Same tenant, isolated engine
ClassicAnt Design
Live provider
ModernDaisyUI
Live provider
Consumption

Import and usage

Keep the primitive contract visible. These snippets are meant to help teams consume the base component before they wrap or escalate it.Browse all Overlay
Adoption postureStart with AlertDialog, not a wrapperImport directly from the design system package, verify the base behavior across 3 engines here, and only wrap when workflow logic starts repeating.
The primitive should stay legible before any page-specific chrome is layered on top.
Usage notes
Import directly from the design system package and keep composition simple first.
Use category-appropriate props before creating wrapper APIs that hide the base contract.
Escalate to patterns or surfaces only when workflow logic clearly outweighs local UI concerns.
Published entrypoint@rottay/design-systemUse the shared package surface as the default import path for AlertDialog. It keeps adoption readable and future extraction work straightforward.
Base tier: Overlay
API surface

Props

Curated reference for fast browsing. Verify edge-case props against the source until this table is extracted directly from the DS.
Reference scan5 documented props0 required and 5 optional rows are listed here so teams can review the contract without digging through source immediately.
Confirm uncommon edge cases against the component implementation until this table is extracted automatically.
Reference disciplineThe table below is tuned for quick scanning in docs. For unusual composition or engine-specific behavior, treat the DS source as the final authority.
AlertDialog propsProp contracts stay readable across dark-first and light-first tenants.
5 props
0 required
5 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.
Name
Optional
Optional
Optional
Optional
Optional
Related components

Continue within Overlay

If AlertDialog is close but not quite right, scan nearby primitives in the same tier before jumping to a heavier surface or pattern abstraction.Browse all Overlay
Next moveStay within Overlay firstCategory siblings usually solve adjacent states while preserving the same primitive contract level and runtime expectations.
Escalate to patterns or surfaces only when the interaction model itself changes.
Also in Overlay3 engines
AdaptiveOverlayResponsive overlay that adapts to viewport size
Peer primitive within the same category set.Open detail
Also in Overlay3 engines
ConfirmDialogConfirmation dialog with accept/cancel actions
Peer primitive within the same category set.Open detail
ContextMenuRight-click context menu with actions
Alert Dialog
OverlayAlertDialog
3 live engines
Live DS output
Runtime fingerprint
Runtime
PlatformRottay
Rottay / ModernPlatform Flagship
Primary
Radius
Density
Accent
Badge
Motion
Compact runtime evidence across 2+ token signals.
Note
Check anchoring, exit paths, and how gently the layer interrupts the base interface.
OverlayAlertDialog
3 live engines
Live DS output
Runtime fingerprint
Runtime
Platform
Rottay
Primary
Radius
Density
Accent
Badge
Motion
Compact runtime evidence across 2+ token signals.
Note
Check anchoring, exit paths, and how gently the layer interrupts the base interface.
RusticVanilla CSS
Live provider
OverlayAlertDialog
3 live engines
Live DS output
Runtime fingerprint
Runtime
Platform
Rottay
Primary
Radius
Density
Accent
Badge
Motion
Compact runtime evidence across 2+ token signals.
Note
Check anchoring, exit paths, and how gently the layer interrupts the base interface.
EntrypointKeep imports directReach for the published DS export first so teams can read the contract at a glance.
ImportPublished package entrypoint, ready to copy.
tsx
1 line
Consumption
Runtime-aware snippet
ImportTSX
Quick copy
import { AlertDialog } from '@rottay/design-system';
Baseline exampleStart with AlertDialogUse the smallest valid composition first, then layer in product-specific wrappers only when the workflow truly needs them.
UsagePaste-ready example that shows the base contract first.
tsx
6 lines
Consumption
Runtime-aware snippet
<AlertDialog
  open={isOpen}
  onOpenChange={setIsOpen}
>
  <Button>Open</Button>
</AlertDialog>
Type
Default
Required
Description
open
boolean
none
Controls whether the overlay is visible.
onOpenChange
(open: boolean) => void
none
Notifies when the overlay opens or closes.
trigger
ReactNode
none
Element that anchors or launches the overlay.
className
string
none
Additional CSS class names.
style
CSSProperties
none
Inline style overrides.
open
Optional
booleannone
Controls whether the overlay is visible.
onOpenChange
Optional
(open: boolean) => voidnone
Notifies when the overlay opens or closes.
trigger
Optional
ReactNodenone
Element that anchors or launches the overlay.
className
Optional
stringnone
Additional CSS class names.
style
Optional
CSSPropertiesnone
Inline style overrides.
Also in Overlay3 engines
Peer primitive within the same category set.Open detail
Also in Overlay3 engines
DropdownTrigger-based dropdown menu
Peer primitive within the same category set.Open detail
#0A0A0ASecondary #6B6B6B
14pxxl 18px
normalBorder-light cards
roundedtop bar · solid dividers
springHover lift 2px
Rottay / ModernPlatform Flagship
#0A0A0ASecondary #6B6B6B
14pxxl 18px
normalBorder-light cards
roundedtop bar · solid dividers
springHover lift 2px
Rottay / ModernPlatform Flagship
#0A0A0ASecondary #6B6B6B
14pxxl 18px
normalBorder-light cards
roundedtop bar · solid dividers
springHover lift 2px
UsageTSX
Quick copy