Captions
Compositions
- Hero Device Assemble
- Ecosystem Constellation
- Infinite Bento Pan
- Product Launch Trailer
- Browser Flow
- AI Generation Canvas
- AI Generate Overlay
- Live Code Compilation
- Terminal To Browser Deploy
- Image Expand To Fullscreen
- Format Morph
- Node Reveal
- Dashboard Populate
- Pipeline Journey
- Pricing Tier Focus
- Landing Code Showcase
Core Primitives
Transitions
Typography
- Blur Reveal
- Staggered Fade Up
- Masked Slide Reveal
- Tracking In
- Inline Highlight
- Marker Highlight
- Shimmer Sweep
- Typewriter
- Text Fade Replace
- Slot Machine Roll
- Infinite Marquee
- Perspective Marquee
- Matrix Decode
- RGB Glitch Text
- Strikethrough Replace
- Blur Out Up
- Bottom Up Letters
- Top Down Letters
- Per Character Rise
- Soft Blur In
- Micro Scale Fade
- Scale Down Fade
- Focus Blur Resolve
- Spring Scale In
- Line by Line Slide
- Mask Reveal Up
- Short Slide Right
Installation
$ pnpm dlx shadcn@latest add @framecn/drag-and-drop-flow
Usage
import { DragAndDropFlow } from "@/components/framecn/drag-and-drop-flow";<DragAndDropFlow />API Reference
DragAndDropFlow
| Prop | Type | Default |
|---|---|---|
accent | string | "#0ea5e9" |
dropzoneLabel | string | "Drop file to upload" |
fileName | string | "design.fig" |
background | string | "#fafafa" |
speed | number | 1 |
fps | number | 30 |
durationInFrames | number | 150 |
width | number | 1280 |
height | number | 720 |
className | string | - |
Notes
File upload workflow
A cursor drags a file into a drop zone that lights up and shows a progress bar. Great for file upload UI demos.