Files
Jonathan Summers-Muir 972773ca87 [Dashboard] Chore: update Modal component to use new components (#26844)
* init

* add more examples

* update modal

* update modals

* more modals updated

* update modal

* Update NewAccessTokenButton.tsx

* Update NewAccessTokenButton.tsx

* fix: issue with scale on dialog opening. chore: added bg-dialog color

* fix modals

* add deprecation notices

* revert bg

* revert

* Update Modal.tsx

* Update PITRSelection.tsx

* update dialog docs

* fix: issue with payment method modal

* update terminal instructions

* update padding defaults
2024-06-05 10:06:55 +00:00

25 lines
584 B
Plaintext

---
title: Modal
description: A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.
fragment: true
links:
doc: https://www.radix-ui.com/docs/primitives/components/dialog
api: https://www.radix-ui.com/docs/primitives/components/dialog#api-reference
---
<ComponentPreview name="modal-demo" peekCode wide />
## Examples
### Aligned footer
<ComponentPreview name="modal-aligned-footer" />
### Hide footer
<ComponentPreview name="modal-hide-footer" />
### Custom footer
<ComponentPreview name="modal-custom-footer" />