Sépale
Components Docs Theme generator Prefix About GitHub npm
  • Family
  • Family
  • Theme

  • Guide
  • Getting started
  • Families and themes
  • Components and classes
  • Svelte components
  • Motion
  • Your own styles
  • Class prefix
  • Family
  • Description
  • Theme generator
  • Components
  • All components
    • Button
    • Link
    • Join
    • Input
    • Textarea
    • Select
    • Combobox
    • Number input
    • Date picker
    • Calendar
    • Color picker
    • File input
    • File dropzone
    • Checkbox
    • Radio
    • Toggle
    • Switch
    • Range
    • Rating
    • Chips input
    • Editable
    • Label
    • Floating label
    • Fieldset
    • Validator
    • Text
    • Avatar
    • Badge
    • Chip
    • Swatch
    • Bubble
    • Card
    • Stat
    • Carousel
    • Alert
    • Toast
    • Loading
    • Progress
    • Radial progress
    • Skeleton
    • Empty state
    • Data handler
    • Data control
    • Table
    • Grid
    • List
    • Kanban
    • File explorer
    • Menu
    • Tabs
    • Breadcrumbs
    • Steps
    • Pagination
    • Dock
    • Navbar
    • Sidebar
    • Drawer
    • Footer
    • Hero
    • Divider
    • Collapse
    • Accordion
    • Dialog
    • Dropdown
    • Tooltip
    • Mobile frame
    • Window frame
    • Laptop frame

Dialog

A box laid over the page, built on the native <dialog>. Modal, the page behind is shaded by the browser’s own ::backdrop and cannot be reached; not modal, it stays usable.

ClassEffectType
.dialog
A box laid over the page, built on the native <dialog>. Modal, the page behind is shaded by the browser’s own ::backdrop and cannot be reached; not modal, it stays usable. root
.dialog-top.dialog-bottom
Sets placement, one class per value. axis placement
.dialog-xs.dialog-sm.dialog-md.dialog-lg.dialog-xl
Sets size, one class per value. axis size
.dialog-actions
The buttons, at the end of the box. A <form method="dialog">: a button closes the dialog with its value. part
.dialog-body
What the dialog says or asks. part
.dialog-box
The box itself. Everything around it is the overlay: a click there lands on the <dialog>. part
.dialog-close
The close button in the corner. part
.dialog-title
The heading. part