COMPONENTS
Disclosures and overlays
Native HTML supplies disclosure and popover interactions. CSS styles their surfaces without adding application behavior.
Usage
Markup: details/summary, dialog, [popover]
Behaviour: Dialog styling does not itself implement a modal workflow.
Component API and styling module · Inherited appearance settings
Native disclosure
summary toggles its details. Add open if it should start expanded.
What is included?
Native HTML foundations and optional component styles.
Exclusive disclosure groups
Matching name values allow one disclosure in that group to remain open. Give separate instances unique group names.
Do I need JavaScript?
These disclosures work with native HTML.
Can I customise the styles?
Use shared attributes and ordinary CSS.
Native popover
popovertarget opens this popover without JavaScript in supporting browsers. Native auto popovers support light dismissal.
Helpful information
This is a native popover surface.
Dialog markup
open displays a non-modal dialog. This static markup does not implement modal opening or focus management; those require supported native invoker commands or a separate script. A form with method="dialog" can close an open dialog.