Dialog API
Every prop of the 10 parts Dialog exports, generated from the package manifest.
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- Dialog · DialogClose · DialogContent · DialogDescription · DialogFooter · DialogHeader · DialogOverlay · DialogPortal · DialogTitle · DialogTriggertypes: DialogContentProps
- Contract
- packages/brand-system/src/components/dialog.contract.test-d.ts
- Demos
- 4 on the Dialog page — rendered live, hydrated
- Source
- packages/brand-system/src/components/dialog.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Dialog is for, how it composes and what it looks like, see Dialog.
Dialog
Re-exported from @radix-ui/react-dialog. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
DialogClose
Re-exported from @radix-ui/react-dialog. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
DialogContent
DialogContentProps
Prop
Type
Also inherited from @radix-ui/react-dialog — forwarded, not declared here, and accepted alongside the props above. DOM attributes are accepted too and omitted here.
Prop
Type
DialogDescription
Inherited from @radix-ui/react-dialog — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
DialogFooter
A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
DialogHeader
A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
DialogOverlay
Inherited from @radix-ui/react-dialog — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
DialogPortal
Re-exported from @radix-ui/react-dialog. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
DialogTitle
Inherited from @radix-ui/react-dialog — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
DialogTrigger
Re-exported from @radix-ui/react-dialog. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type