DUI
⌘K

Components / Interaction

CSSMotion

Dependency-free CSS entrance animation with reduced-motion support.

Preview

Native CSS reveal
1import { CSSMotion } from "@/components/ui/css-motion"2
3export function CSSMotionDemo() {4  return <CSSMotion>Native CSS reveal</CSSMotion>5}

Installation

Add the source directly to your project with the shadcn CLI.

npx shadcn@latest add qentrah/DUI/css-motion

Usage

Install the component, import it from your configured UI directory, and adapt the source to your product. Open the source panel under any example to copy that exact variant.