Job board

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

Preview

dialog, default variant as designeddialog, default variant as designed
Default variant as designed, light modedark modeOpen in Figma

Accessibility

Follows the WAI-ARIA dialog modal pattern: roles, keyboard and focus behaviour.

Dependencies in Figma

Built fromUsed byButton — brings SpinnerButtonInteractive iconInteractive icon_Modal - dialog_Modal - dialogModalModal

Built from

Used by

Level checks

Draft · next level blocked by Errors open

The ladder's checks for Modal
CheckLevelResult
AuditedReadyPasses
No errors openReady1 error open
Has a descriptionReadyPasses
Usage and Don't writtenReadyChecked at the next audit
Every layer namedReadyPasses
In codeReadyPasses
No warnings openStableNot yet
Code gen notes writtenStableChecked at the next audit
Auto layout throughoutStableChecked at the next audit
Matches the designStableNot yet

Anatomy

123
Every option switched on: what the component can contain, not how it is usually used
#PartShownComponent
1TitleAlways–
2Interactive iconAlwaysInteractive icon
3Button × 2By Secondary buttonButton

Properties

dialog: each property, its type, values and default
PropertyTypeValuesDefault
BreakpointVariant
mdsm
md
TypeVariant
DefaultImmersive
Default
Title textTextany textTitle
Secondary buttonBooleantrue, falsetrue
Content slotSlotany contentNone

Implementation

What code builds differently from the drawing, and why
FigmaCodeWhy
Header, Footer, Container, inside strokeborder 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 positionposition: absolute in a positioned parentOut of the flow: it neither pushes siblings nor sizes the parent.
Breakpoint: md, smMedia or container queriesOne component responds to its width; the variants are the widths drawn.

Changes on 23 Nov
ChangeTypeFigma filesCodeDetails
Container: fillRestyledMinorMinor

Changes on 9 Nov
ChangeTypeFigma filesCodeDetails
Footer: position · 3 variantsRestyledMinorMinor

Changes on 5 Nov
ChangeTypeFigma filesCodeDetails
Slot settingsNot gradedNot gradedNot graded

Changes on 4 Nov
ChangeTypeFigma filesCodeDetails
Layer ContainerAddedMinorPatch
Layer ContentAddedMinorPatch
Layer LabelAddedMinorPatch
Title: text styleRestyledMinorMinor
Label: text styleRestyledMinorMinor
Button: widthRestyledMinorMinor
Button: position · 4 variantsRestyledMinorMinor
Container: widthRestyledMinorMinor
Content: widthRestyledMinorMinor
Content: heightRestyledMinorMinor
Content: positionRestyledMinorMinor
Label: widthRestyledMinorMinor
Label: heightRestyledMinorMinor
Label: line heightRestyledMinorMinor
Label: letter spacingRestyledMinorMinor
Button#2: widthRestyledMinorMinor
Button#2: position · 2 variantsRestyledMinorMinor
Button: overridesRestyledMinorMinor
Button#2: overridesRestyledMinorMinor
Title: heightRestyledMinorMinor
Title: positionRestyledMinorMinor

Changes on 1 Nov
ChangeTypeFigma filesCodeDetails
Property linksNot gradedNot gradedNot graded

Changes on 13 Oct
ChangeTypeFigma filesCodeDetails
Layer LabelRemovedBreakingMinor
Layer ContentRenamedPatchMinor
Layer ContentAddedMinorPatch
Layer LabelAddedMinorPatch
Layer ContainerAddedMinorPatch
Button: overridesRestyledMinorMinor
Button#2: overridesRestyledMinorMinor

Changes on 3 Oct
ChangeTypeFigma filesCodeDetails
Content slot: typeRestyledMinorMinor

Changes on 27 Sept
ChangeTypeFigma filesCodeDetails
Title: line heightRestyledMinorMinor
Slot settingsNot gradedNot gradedNot graded

Changes on 23 Sept
ChangeTypeFigma filesCodeDetails
Title: line heightRestyledMinorMinor
Slot settingsNot gradedNot gradedNot graded

Changes on 19 Sept
ChangeTypeFigma filesCodeDetails
DescriptionDocsPatchPatch

Changes on 6 Sept
ChangeTypeFigma filesCodeDetails
Header: strokeRestyledMinorMinor
Footer: strokeRestyledMinorMinor

Changes on 1 Sept
ChangeTypeFigma filesCodeDetails
Label: heightRestyledMinorMinor
Label: positionRestyledMinorMinor
Label: line heightRestyledMinorMinor
Layer ContentRenamedPatchMinor
Layer Content slotRenamedPatchMinor
Layer ContentAddedMinorPatch
Footer: position · 2 variantsRestyledBreakingMinor
Content: heightRestyledBreakingMinor
Content slot: heightRestyledBreakingMinor
_Modal - dialog: height · 2 variantsRestyledBreakingMinor
Content slot: padding · 2 variantsRestyledMinorMinor
Header: strokeRestyledMinorMinor
Header: strokeSidesRestyledMinorMinor
Header: stroke alignmentRestyledMinorMinor
Property Secondary buttonAddedMinorMinor
Property TypeAddedMinorMinor
VariantsNot gradedNot gradedNot graded

Changes on 25 Aug
ChangeTypeFigma filesCodeDetails
Property BreakpointAddedMinorMinor
VariantsNot gradedNot gradedNot graded

Changes on 21 Aug
ChangeTypeFigma filesCodeDetails
Nested component renamed (1 layer)Not gradedNot gradedNot graded
Interactive icon: propsRestyledMinorMinor
Button: propsRestyledMinorMinor
Button#2: propsRestyledMinorMinor
Layer ContentAddedMinorPatch
Layer xAddedMinorPatch
ComponentAddedMinorMinor