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/animated-bar-chart
Usage
import { AnimatedBarChart } from "@/components/framecn/animated-bar-chart";<AnimatedBarChart />API Reference
AnimatedBarChart
| Prop | Type | Default |
|---|---|---|
data | number[] | [35, 60, 45, 80, 55, 70, 90, 65] |
labels | string[] | - |
width | number | 1000 |
height | number | 500 |
barColor | string | "#0ea5e9" |
background | string | "#0a0a0a" |
gap | number | 16 |
staggerFrames | number | 6 |
speed | number | 1 |
fps | number | 30 |
durationInFrames | number | 90 |
className | string | - |
Notes
Spring-based bar animation
Bars spring up from the baseline with deterministic stagger. Great for dashboard or analytics visualizations.