Modal

Installing

Install the component

npm install @supabase/ui

Getting started

Import the component

@import { Modal } from '@supabase/ui'

Basic

Loading

Icon

Loading

Vertical

Loading

Close button

LoadingLoadingLoadingLoadingLoadingLoadingLoading

API reference

PropertyType
alignFooterTBC
childrenReact.ReactNode
classNamestring
closableboolean
contentStyleCSSProperties
customFooterReact.ReactNode
descriptionstring
footerBackgroundboolean
hideFooterboolean
iconReact.ReactNode
layoutTBC
loadingboolean
onCancelany
onCancelTextstring
onConfirmany
onConfirmTextstring
overlayClassNamestring
overlayStyleCSSProperties
showIconboolean
sizeTBC
styleCSSProperties
titlestring
transitionAnimationTailwindClasses
transitionOverlayAnimationTailwindClasses
variantTBC
visibleboolean