Modal
Center-anchored dialog + bottom-sheet (mobile) variants. 18 sets across template/info/select/dropdown shapes; standalone bottom-sheets handle edge formats.
Live preview
Inline preview (default confirm modal open by default, scoped to container)
Simulate · Confirm — md (default)
Small — sm, single action
Large — lg, scrollable body
Non-dismissible — must click action
Import & files
Import
import { Modal } from "@dol/ui/modal";- Source file
packages/@dol/ui/src/modal/Modal.tsx
Figma source
Figma source 18 sets
- Page
- Modal
- Sets
- 18 + 18 standalone
- Primary set
-
Modal header content/General text, icon· 4 variants Open in Figma →
Showing:
Modal header content/General text, icon 11 other sets (+ 6 more not listed)
-
Demonstrate/Table select modal/Reorder by drag and drop3 variants Figma → -
Demonstrate/Table select modal/Select single item3 variants Figma → -
Filter/Item/Select all, Remove all3 variants Figma → -
Item/Button modal36 variants Figma → -
Listing/Table/Listing Select/Sample/Multi item3 variants Figma → -
Listing/Table/Listing Select/Sample/Single item2 variants Figma → -
Modal body content/Simple text2 variants Figma → -
Modal footer10 variants Figma → -
Modal footer content/Add-on only1 variants Figma → -
Modal footer content/Button + add-on2 variants Figma → -
Modal footer content/Button group3 variants Figma →
AI context
AI context
Markdown summary safe to paste into Claude / ChatGPT / Cursor — includes name, status, import, props, axes, examples, figma source.
# ModalSlug: `modal`Domain: general · Category: overlayDesign: stable · Code: coded
## DescriptionCenter-anchored dialog + bottom-sheet (mobile) variants. 18 sets across template/info/select/dropdown shapes; standalone bottom-sheets handle edge formats.
## Import```tsimport { Modal } from "@dol/ui/modal";```Source: `packages/@dol/ui/src/modal/Modal.tsx`
## Figma sourcePage: ModalSets: 18Primary: Modal header content/General text, iconOpen: https://www.figma.com/design/DqRd7UQkNGcdvYL5fwZxlf/?node-id=7566-85023Related
Status legend
Status legend
- Stable
- Design + code shipped, full DS parity.
- Partial
- Design ready, some variants/states missing in code.
- Coded
- Implemented in code; design canon may not yet exist.
- Design only / Code only
- One side present; awaiting the other.
Phase 1.X-5.2 detail view — read-only metadata. Code preview + recipe + live demo deferred (need @dol/ui registry integration).