mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
* 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
25 lines
584 B
Plaintext
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" />
|