Modal
Installing
Install the component
npm install @supabase/ui
Getting started
Import the component
import { Modal } from '@supabase/ui'
Basic
LoadingIcon
LoadingVertical
LoadingClose button
LoadingFooter background
LoadingFooter right aligned
LoadingFooter hide
LoadingFooter custom
LoadingFooter custom vertical
LoadingFooter custom vertical one action
LoadingAPI reference
Property | Type |
---|---|
alignFooter | TBC |
children | React.ReactNode |
className | string |
closable | boolean |
contentStyle | CSSProperties |
customFooter | React.ReactNode |
description | string |
footerBackground | boolean |
hideFooter | boolean |
icon | React.ReactNode |
layout | TBC |
loading | boolean |
onCancel | any |
onCancelText | string |
onConfirm | any |
onConfirmText | string |
overlayClassName | string |
overlayStyle | CSSProperties |
showIcon | boolean |
size | TBC |
style | CSSProperties |
title | string |
transition | AnimationTailwindClasses |
transitionOverlay | AnimationTailwindClasses |
variant | TBC |
visible | boolean |