Shadix UIMotion Dialog
A customizable dialog component for shadcn/ui with smooth, interruptible animations for opening and closing, powered by Framer Motion.
Installation
Usage
Basic Usage
Import the component
import {
    MotionDialog,
    MotionDialogTrigger,
    MotionDialogContent,
    MotionDialogHeader,
    MotionDialogTitle,
    MotionDialogDescription,
    MotionDialogBody,
    MotionDialogFooter,
    MotionDialogClose
} from '@/registry/new-york/components/motion-dialog';Use the component
<MotionDialog animation="blur">
    <MotionDialogTrigger asChild>
        <Button>Open Dialog</Button>
    </MotionDialogTrigger>
    <MotionDialogContent>
        <MotionDialogHeader>
            <MotionDialogTitle>Dialog Title</MotionDialogTitle>
            <MotionDialogDescription>Dialog Description</MotionDialogDescription>
        </MotionDialogHeader>
        <MotionDialogBody>
            <p>Dialog Body</p>
        </MotionDialogBody>
        <MotionDialogFooter>
            <Button>Action</Button>
            <MotionDialogClose asChild>
                <Button>Close</Button>
            </MotionDialogClose>
        </MotionDialogFooter>
    </MotionDialogContent>
</MotionDialog>Props
Expandable Card
A customizable expandable card component for shadcn/ui. Reveals content with a smooth animation and includes a sleek, raised shadow effect.
Reorder List
A customizable reorder list component for shadcn/ui. Easily create draggable and reorderable lists with drag-and-drop functionality using Framer Motion.