Captions
Compositions
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
Customize
15
2
1
Installation
$ pnpm dlx shadcn@latest add @framecn/bounding-box-selector
Usage
import { BoundingBoxSelector } from "@/components/framecn/bounding-box-selector";<BoundingBoxSelector />API Reference
BoundingBoxSelector
| Prop | Type | Default |
|---|---|---|
children | ReactNode | - |
borderColor | string | "#0ea5e9" |
handleColor | string | "#0ea5e9" |
borderWidth | number | 2 |
appearAt | number | 15 |
background | string | "#fafafa" |
speed | number | 1 |
className | string | - |
fps | number | 30 |
durationInFrames | number | 90 |
width | number | 1000 |
height | number | 500 |
Notes
Sizing from wrapped child
The component reads its size from the wrapped child via display: inline-block. Pass children with explicit width/height for pixel-perfect
placement.