• Lightest
  • Light
  • Dark
  • Darkest
  • Medium
  • Large
  • LTR
  • RTL
Component status
Contribution
Last releasedOctober 20, 2020
Current version@spectrum-css/modal@3.0.0-beta.2

Usage notes


A modal component used primarily by Dialog

Variants


This is a modal. Don't use it like this; get yourself a Modal.
Show markup
<div class="spectrum-Modal-wrapper spectrum-CSSExample-dialog">
  <div class="spectrum-Modal is-open">This is a modal. Don't use it like this; get yourself a Modal.</div>
</div>