Sora UI

Dialog · Base UI

An accessible modal dialog component built on Base UI with smooth 3D perspective spring entrance and exit animations.

Made by Axyl
Loading...

Default animated dialog with 3D perspective transition and backdrop blur.

Installation

npx shadcn@latest add @soralabs/base-dialog

File Structure

dialog.tsx
button.tsx
use-controlled-state.tsx

Usage

Examples

Scrollable Body

Loading...

Dialog with scrollable content area.

Share Modal

Loading...

Interactive dialog with link copying and social sharing buttons.

Props

Dialog

PropTypeDefault
open?
boolean
-
defaultOpen?
boolean
false
onOpenChange?
(open: boolean) => void
-

DialogContent

PropTypeDefault
showCloseButton?
boolean
true
overlayClassName?
string
-
containerClassName?
string
-
className?
string
-

Built by Axyl. A motion-first component registry for React.

Last updated: 9/11/2026

On this page

Help keep SoraLabs moving.

Every contribution helps us build and maintain open-source tools for the community.

Sponsor on GitHub