Genesis
@stable

Dialog

Modal blocking surface for confirmations / short flows.

packages/ui/src/components/ui/dialog.tsx

Import
Subpath export: @marktiderman/genesis-ui
import { Dialog } from "@marktiderman/genesis-ui";
Exports
Re-exported from @marktiderman/genesis-ui.
  • Dialog
  • DialogTrigger
  • DialogContent
  • DialogHeader
  • DialogTitle
  • DialogDescription
  • DialogFooter
Components
Auto-generated from TypeScript source via react-docgen-typescript.

Dialog

No declared props.

DialogPortal

No declared props.

DialogOverlay

PropTypeDefaultDescription
asChildboolean—

DialogClose

PropTypeDefaultDescription
asChildboolean—

DialogTrigger

PropTypeDefaultDescription
asChildboolean—

DialogContent

PropTypeDefaultDescription
asChildboolean—
mobileLayoutenumcenterHow the dialog sits on a phone. Default `center`, the centred box; `sheet` and `fullscreen` are opt-in. See {@link DialogMobileLayout}.
overlayClassNamestring—Classes for the backdrop rendered behind the content, merged after the defaults, e.g. `z-[60]` to lift it above a side panel that sits at `z-50`. Raise the content's own `className` to match.
showCloseButtonbooleantrue

DialogHeader

No declared props.

DialogFooter

No declared props.

DialogTitle

PropTypeDefaultDescription
asChildboolean—

DialogDescription

PropTypeDefaultDescription
asChildboolean—
Storybook
Storybook hosts the canonical visual reference with controls for every variant.