Write an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You may omit overlay, modal, modality, placement, dismiss, focus, anchor, selection, orientation, activation, scrollLock, and loop. Leave a field out when you have nothing to say. Do not invent a placeholder.
Exact constraints
- type
object- additional properties
forbidden
Exact constraints
- type
boolean
Exact constraints
- type
boolean
modality"modal" | "non-modal"Pick one of the 2 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
Write a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
dismissarray<"escape" | "backdrop" | "swipe" | "outside-press" | "close-button"> | objectMore than one shape is accepted. Use exactly one of the 2 alternatives below. They are different ways to say the same kind of value.
anyOf 1array<"escape" | "backdrop" | "swipe" | "outside-press" | "close-button">Write a list. Each item follows the shape described under items.
Each item in the list must be different. Duplicates are invalid.
Exact constraints
- type
array- unique items
true
items"escape" | "backdrop" | "swipe" | "outside-press" | "close-button"Pick one of the 5 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
Allowed values"escape""backdrop""swipe""outside-press""close-button"
Write an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You may omit outsidePress, escape, backdrop, and swipe. Leave a field out when you have nothing to say. Do not invent a placeholder.
Exact constraints
- type
object- additional properties
forbidden
Exact constraints
- type
boolean
Exact constraints
- type
boolean
Exact constraints
- type
boolean
Exact constraints
- type
boolean
This is not a new shape. It reuses focus from the accessibility module. Open that definition for the fields you can write.
Write an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You may omit targetRef, target, placement, collision, and offset. Leave a field out when you have nothing to say. Do not invent a placeholder.
Exact constraints
- type
object- additional properties
forbidden
This is not a new shape. It reuses id from the common module. Open that definition for the fields you can write.
Write a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
placement"top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"Pick one of the 12 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
Allowed values"top""bottom""left""right""top-start""top-end""bottom-start""bottom-end""left-start""left-end""right-start""right-end"
collision"flip" | "shift" | "none"Pick one of the 3 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
This is not a new shape. It reuses dimension from the common module. Open that definition for the fields you can write.
selection"none" | "single" | "multiple"Pick one of the 3 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
orientation"horizontal" | "vertical"Pick one of the 2 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
activation"automatic" | "manual"Pick one of the 2 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
Exact constraints
- type
boolean
Exact constraints
- type
boolean