dialog
The dialog inside Modal: a header with Title text and the close control, the Content slot, and a footer with a Primary Button and a Secondary one revealed by Secondary button. Type=Immersive drops the title and gives the content the whole surface; Breakpoint follows the parent. Not placed directly on a screen.
- Design
- Finished
- Level
- Draft
- Audit
- 2 open findingsat the audit of
- Last changed
- Resources
- Figma Propose a change
Preview


Accessibility
Follows the WAI-ARIA dialog modal pattern: roles, keyboard and focus behaviour.
Dependencies in Figma
Built from
- Button · brings Spinner
- Interactive icon
Used by
Level checks
Draft · next level blocked by Errors open
| Check | Level | Result |
|---|---|---|
| Audited | Ready | Passes |
| No errors open | Ready | 1 error open |
| Has a description | Ready | Passes |
| Usage and Don't written | Ready | Checked at the next audit |
| Every layer named | Ready | Passes |
| In code | Ready | Passes |
| No warnings open | Stable | Not yet |
| Code gen notes written | Stable | Checked at the next audit |
| Auto layout throughout | Stable | Checked at the next audit |
| Matches the design | Stable | Not yet |
Anatomy
| # | Part | Shown | Component |
|---|---|---|---|
| 1 | Title | Always | – |
| 2 | Interactive icon | Always | Interactive icon |
| 3 | Button × 2 | By Secondary button | Button |
Properties
| Property | Type | Values | Default |
|---|---|---|---|
| Breakpoint | Variant | mdsm | md |
| Type | Variant | DefaultImmersive | Default |
| Title text | Text | any text | Title |
| Secondary button | Boolean | true, false | true |
| Content slot | Slot | any content | None |
Implementation
| Figma | Code | Why |
|---|---|---|
| Header, Footer, Container, inside stroke | border with box-sizing: border-box and padding less the stroke, or box-shadow: inset 0 0 0 <width> | Figma's inside stroke takes no space; a border does. |
| Header, Footer, absolute position | position: absolute in a positioned parent | Out of the flow: it neither pushes siblings nor sizes the parent. |
Breakpoint: md, sm | Media or container queries | One component responds to its width; the variants are the widths drawn. |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Container: fill | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Footer: position · 3 variants | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Slot settings | Not graded | Not graded | Not graded |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Layer Container | Added | Minor | Patch | |
| Layer Content | Added | Minor | Patch | |
| Layer Label | Added | Minor | Patch | |
| Title: text style | Restyled | Minor | Minor | |
| Label: text style | Restyled | Minor | Minor | |
| Button: width | Restyled | Minor | Minor | |
| Button: position · 4 variants | Restyled | Minor | Minor | |
| Container: width | Restyled | Minor | Minor | |
| Content: width | Restyled | Minor | Minor | |
| Content: height | Restyled | Minor | Minor | |
| Content: position | Restyled | Minor | Minor | |
| Label: width | Restyled | Minor | Minor | |
| Label: height | Restyled | Minor | Minor | |
| Label: line height | Restyled | Minor | Minor | |
| Label: letter spacing | Restyled | Minor | Minor | |
| Button#2: width | Restyled | Minor | Minor | |
| Button#2: position · 2 variants | Restyled | Minor | Minor | |
| Button: overrides | Restyled | Minor | Minor | |
| Button#2: overrides | Restyled | Minor | Minor | |
| Title: height | Restyled | Minor | Minor | |
| Title: position | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Property links | Not graded | Not graded | Not graded |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Layer Label | Removed | Breaking | Minor | |
| Layer Content | Renamed | Patch | Minor | |
| Layer Content | Added | Minor | Patch | |
| Layer Label | Added | Minor | Patch | |
| Layer Container | Added | Minor | Patch | |
| Button: overrides | Restyled | Minor | Minor | |
| Button#2: overrides | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Content slot: type | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Title: line height | Restyled | Minor | Minor | |
| Slot settings | Not graded | Not graded | Not graded |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Title: line height | Restyled | Minor | Minor | |
| Slot settings | Not graded | Not graded | Not graded |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Description | Docs | Patch | Patch |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Header: stroke | Restyled | Minor | Minor | |
| Footer: stroke | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Label: height | Restyled | Minor | Minor | |
| Label: position | Restyled | Minor | Minor | |
| Label: line height | Restyled | Minor | Minor | |
| Layer Content | Renamed | Patch | Minor | |
| Layer Content slot | Renamed | Patch | Minor | |
| Layer Content | Added | Minor | Patch | |
| Footer: position · 2 variants | Restyled | Breaking | Minor | |
| Content: height | Restyled | Breaking | Minor | |
| Content slot: height | Restyled | Breaking | Minor | |
| _Modal - dialog: height · 2 variants | Restyled | Breaking | Minor | |
| Content slot: padding · 2 variants | Restyled | Minor | Minor | |
| Header: stroke | Restyled | Minor | Minor | |
| Header: strokeSides | Restyled | Minor | Minor | |
| Header: stroke alignment | Restyled | Minor | Minor | |
| Property Secondary button | Added | Minor | Minor | |
| Property Type | Added | Minor | Minor | |
| Variants | Not graded | Not graded | Not graded |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Property Breakpoint | Added | Minor | Minor | |
| Variants | Not graded | Not graded | Not graded |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Nested component renamed (1 layer) | Not graded | Not graded | Not graded | |
| Interactive icon: props | Restyled | Minor | Minor | |
| Button: props | Restyled | Minor | Minor | |
| Button#2: props | Restyled | Minor | Minor | |
| Layer Content | Added | Minor | Patch | |
| Layer x | Added | Minor | Patch | |
| Component | Added | Minor | Minor |