Torpor logo Torpor
Docs Components Build Blog Playground
< :slot>
  • Overview
  • Accordion
  • Alert
  • Breadcrumb
  • Calendar
  • Carousel
  • Charts
  • ColorPicker
  • CommandPalette
  • ComboBox
  • Contextual
  • DatePicker
  • DateRangePicker
  • DateTimePicker
  • DataGrid
  • Dialog
  • Drawer
  • FocusGroup
  • Form
  • ListBox
  • MaskedInput
  • Menu
  • MenuBar
  • Meter
  • Modal
  • NavMenu
  • NumberInput
  • Notification
  • Pagination
  • PinInput
  • Popover
  • Progress
  • Rating
  • SelectBox
  • SegmentedControl
  • Slider
  • SortableList
  • Splitter
  • Stepper
  • TabGroup
  • TagInput
  • TimePicker
  • ToolBar
  • Tooltip
  • VirtualList

Dialog

A dialog that can be used to show a message to the user, or get information from the user.

Dialogs are typically shown within a Modal or Popover.

See the WAI ARIA guidelines for Dialogs.

Structure

<Dialog>
	<DialogHeader /> (optional)
	<DialogBody /> (optional)
	<DialogFooter> (optional)
		<DialogButton /> (optional)
	</DialogFooter>
</Dialog>

Demo