Animated React components built with Tailwind CSS, Motion and GSAP, installable with the shadcn CLI.
Before and After Section example, Month-End Close: The log display. Missing receipts, a duplicate AWS charge and a spreadsheet four people are editing go through the gate and come out as reconciled lines with their amounts, newest on top. A take on the before and after (before after). Fits features sections.
Before and After Section example, Support Inbox: A help desk's pitch. Overdue tickets, angry follow-ups and a refund that fired three times drift into the seam, and every one that goes through ticks Harbor's resolved count. Point at the noise to stop it and read a card. A take on the before and after (before after). Fits features sections.
Animated Number Counter: every digit rolls on its own wheel. A take on the number counter (count up). Fits stats, pricing, hero and app UI sections.
Animated Number Counter example, Dashboard KPIs: Currency with cents, a count, a percentage and milliseconds. The range switcher makes big jumps in both directions; between them the numbers drift live while the cards are on screen, and the delta chips flip color and arrow with their sign. A take on the number counter (count up). Fits stats, pricing, hero and app UI sections.
Animated Number Counter example, Default: Step the number up and down. Wheels roll the way the value moves, only the digits that change turn, and 999 → 1,000 widens as the new digit and comma roll in. Click fast: they redirect mid-roll. A take on the number counter (count up). Fits stats, pricing, hero and app UI sections.
Animated Number Counter example, Indian Grouping: A rupee fundraiser that keeps ticking up. Switch between the Indian system of lakhs and crores (₹2,45,67,890) and international thousands (₹24,567,890): the commas roll to their new places while every digit stays put. A take on the number counter (count up). Fits stats, pricing, hero and app UI sections.
Animated Number Counter example, Landing Stats: A band of headline numbers that roll up from 0 the first time they scroll into view, one after another. A take on the number counter (count up). Fits stats, pricing, hero and app UI sections.
Animated Number Counter example, Pricing: Monthly and yearly plans. Prices roll down to the yearly rate and back up, the yearly total rolls down from a year of monthly bills, and Starter's $0 never moves. A take on the number counter (count up). Fits stats, pricing, hero and app UI sections.
Hover Image Reveal: the pointer paints a second photo through the first. A take on the image reveal (hover reveal). Fits hero, portfolio and team sections.
Hover Image Reveal example, About the Founder: A studio's about section. With `autoPlay`, the brush drifts over the portrait by itself until the pointer takes over, so the color keeps moving through it while you read. A take on the image reveal (hover reveal). Fits hero, portfolio and team sections.
Hover Image Reveal example, Photo Restore: An AI photo-restoration tool. With `fadeMs={Infinity}` the paint stays, so you restore the print stroke by stroke. "Restored" floods the rest in from the switch, and "Faded" floods it back and starts over. A take on the image reveal (hover reveal). Fits hero, portfolio and team sections.
Hover Image Reveal example, Studio Hero: A brand studio's header over ink in water. The ink waits in black and white; moving through it paints the color in, and the stroke closes back over about half a second. On a phone the brush drifts by itself. The nav links stay clickable over the picture. A take on the image reveal (hover reveal). Fits hero, portfolio and team sections.
Hover Image Reveal example, Work Grid: A portfolio grid in grayscale, with a smaller brush on each card. Only the card under the pointer draws anything, and `autoPlay={false}` keeps the grid still on phones. A take on the image reveal (hover reveal). Fits hero, portfolio and team sections.
Usage-Based Pricing Slider: drag your usage and the cheapest plan lights up. A take on the range slider (range input) and pricing table (pricing cards). Fits pricing and CTA sections.
Usage-Based Pricing Slider example, Capped Tiers: A newsletter tool priced by list size, where each plan stops at its cap and the next one takes over. A take on the range slider (range input) and pricing table (pricing cards). Fits pricing and CTA sections.
CTA Section built with Plan Fit (usage-based pricing slider): a usage slider picks the plan that fits. A take on the range slider (range input) and pricing table (pricing cards). A closing call to action on a night band. Beside the headline, a plan picker on its own card: drag to how much video you publish and the cards swipe to the plan that fits, and the main button changes to name it.
Pricing Section built with Plan Fit (usage-based pricing slider): a usage slider finds the cheapest plan. A take on the range slider (range input) and pricing table (pricing cards). A pricing section for an AI dubbing tool, priced by the minutes you dub. Drag the usage slider and four plan cards measure it against their allowances: past one, its overage shows as a hatched stretch and its price climbs, until the highlight glides to the plan that costs less. Monthly and yearly billing count every price over, and a volume card beside "In every plan" lights up at the slider's far end.
Usage-Based Pricing Slider example, Signup Step: The plan step of a signup flow in a narrow column: the cards become a swipe row and the button names the plan that fits. A take on the range slider (range input) and pricing table (pricing cards). Fits pricing and CTA sections.
Usage-Based Pricing Slider example, Usage-Based API: A speech-to-text API billed by audio hours, with yearly billing. Build sells extra hours in packs, so it stays the best fit well past its 100 hours, until Scale costs less. A take on the range slider (range input) and pricing table (pricing cards). Fits pricing and CTA sections.
Timeline Scrub Gallery: a playhead walks an archive strip as you scroll. A take on the horizontal scroll (filmstrip), timeline (history) and scroll animation (on scroll). Fits changelog, portfolio and blog sections.
Timeline Scrub Gallery example, Changelog: Six releases as live UI mockups rather than screenshots, so they stay sharp and follow your theme. The header shows the version and date, and a caption for the screen under the playhead. Tab to the playhead and use the arrow keys: Shift jumps a release. A take on the horizontal scroll (filmstrip), timeline (history) and scroll animation (on scroll). Fits changelog, portfolio and blog sections.
Timeline Scrub Gallery example, Default: A studio's archive: six projects, forty images. Scroll and the playhead walks the reel while each project opens into a collage under it, and the title rolls to the next as you cross into it. Scroll fast and the collage folds flat to let you skim. Hover a photo to lift it off the pile, click one to bring it under the playhead, or drag along the ruler. A take on the horizontal scroll (filmstrip), timeline (history) and scroll animation (on scroll). Fits changelog, portfolio and blog sections.
Timeline Scrub Gallery example, Travel Journal: A year of trips, one group each, in portrait and landscape. Each photo has its own caption, and the trip's dates and a day count sit above. A take on the horizontal scroll (filmstrip), timeline (history) and scroll animation (on scroll). Fits changelog, portfolio and blog sections.
Interactive SVG Divider: a line that bends with the pointer and twangs back on a spring. A take on the section divider (separator). Fits changelog and footer sections.
Interactive SVG Divider example, Changelog: Faded strings between release notes, with a softer highlight. A take on the section divider (separator). Fits changelog and footer sections.
Interactive SVG Divider example, Default: A divider between two blocks of text, with the default pull and spring. A take on the section divider (separator). Fits changelog and footer sections.
Interactive SVG Divider example, Strum: Six strings tuned like a guitar: thicker strings are softer and ring longer. Sweep down across all of them. A take on the section divider (separator). Fits changelog and footer sections.
API Code Snippet Tabs: switch languages and shared values glide into place. A take on the code block (code snippet) and tabs (tab bar). Fits docs and features sections.
API Code Snippet Tabs example, Chat Quickstart: An AI API's quickstart in cURL, Python and TypeScript, with the response beside the code (`layout="split"`). Switch tabs and the key, model and prompt glide to their new lines. Click the prompt to rewrite it, pick a model, hover the key, then Run: the smaller model answers sooner and streams faster. A take on the code block (code snippet) and tabs (tab bar). Fits docs and features sections.
API Code Snippet Tabs example, Send an Email: Not only for chat: an email API with the recipient and subject editable in the code. Run streams the JSON the API returns (`responseLang="json"`), and the recipient flies in as the request. A take on the code block (code snippet) and tabs (tab bar). Fits docs and features sections.
API Code Snippet Tabs example, Three-Step Quickstart: Install, authenticate and a first request as three blocks sharing one `syncKey`. Switch any of them and all three change together; the package name slides from `pip install nova` into the Go import path. Your choice is remembered. A take on the code block (code snippet) and tabs (tab bar). Fits docs and features sections.
Sticky Pricing Table: plan cards fold into a sticky header as you scroll. A take on the pricing table (pricing cards). Fits pricing sections.
Sticky Pricing Table example, AI API Pricing: An AI API's four plans under a sticky site nav, so the bar docks at `top={56}`. Scroll and each card folds into its column's header. Switch to Yearly from the docked toggle and the docked prices roll; click a docked name to peek at its whole card; hover a column to follow it down. A take on the pricing table (pricing cards). Fits pricing sections.
Sticky Pricing Table example, Studio Packages: A design studio's three ways to work together, set in an editorial serif with tighter corners (`radius={6}`), a wider `gap` and warm `--dock-border` lines. `formatPrice` writes prices in thousands, the Sprint sets its own `/sprint` period, and Quarterly billing rolls the retainers down. A take on the pricing table (pricing cards). Fits pricing sections.
Sticky Pricing Table example, Why Switch: Us against the two tools teams switch from, with logo cards instead of prices: each mark shrinks in beside its name as the cards dock. On a phone, the plan pills pick whose column the table shows, or swipe the table sideways. A take on the pricing table (pricing cards). Fits pricing sections.
Live Data Dot Grid Background: each event in your feed ripples across a grid of dots. A take on the animated background (backdrop). Fits hero, CTA and stats sections.
Live Data Dot Grid Background example, Live Regions: An inference platform's hero where requests land as small rings labelled with their region and deploys as orange ones, ticking the counter below. A take on the animated background (backdrop). Fits hero, CTA and stats sections.
Live Data Dot Grid Background example, Status Page: An API status page where every region's health checks pass as small rings, until one region turns red and an incident runs from investigating to resolved. A take on the animated background (backdrop). Fits hero, CTA and stats sections.
Live Data Dot Grid Background example, Waitlist: A language tutor's waitlist where signups land on their cities and joining drops an orange ring labelled You, roughly where you are. A take on the animated background (backdrop). Fits hero, CTA and stats sections.
Spacing Inspector Overlay: Figma-style redlines for size, padding and gaps. A take on the annotation (arrow). Fits features and docs sections.
Spacing Inspector Overlay example, Design System: A settings panel where every spacing label reads as a token through `tokens`, and `selector="[data-redline]"` keeps the pointer on named parts. Pin a row, hold Alt and point at another to see the space between them. A take on the annotation (arrow). Fits features and docs sections.
Spacing Inspector Overlay example, Details: A studio's "we sweat the details" section around a product card. Left alone, it tours the card's padding, the gap between the title and the price, the button's 44px height and the space around the photo. Point at anything to take over, click to pin, and hold Alt to measure between two parts. With `spec`, text shows its font. A take on the annotation (arrow). Fits features and docs sections.
Spacing Inspector Overlay example, Dev Handoff: A design tool's handoff mode. `onSelect` fills the panel on the right with the CSS and the Tailwind classes of whatever layer is selected, and it swaps as you move. A take on the annotation (arrow). Fits features and docs sections.
Testimonial Carousel: the lead card grows and shows its quote. A take on the carousel (slider). Fits testimonials, team, careers, events and features sections.
Testimonial Carousel example, Careers: A hiring page's team voices on a dark section. Once a quote is in, the lead card offers a link to that team's open roles through `children`. The controls take the section's white text, with no extra setup. A take on the carousel (slider). Fits testimonials, team, careers, events and features sections.
Testimonial Carousel example, Conference Speakers: A speaker lineup with each talk's line in a serif through `quoteClassName`. The schedule under the heading follows the lead through `index` and `onIndexChange`, and picking a time moves the strip the short way round. A take on the carousel (slider). Fits testimonials, team, careers, events and features sections.
Testimonial Carousel example, Customer Stories: Workshop owners on the invoicing app they run their shop on. It plays by itself and holds while you point at it; pull the strip, use the arrows or click a card to pass the lead. A take on the carousel (slider). Fits testimonials, team, careers, events and features sections.
Hover Changelog Badge: the New badge grows into a mini changelog on hover. A take on the badge (pill). Fits hero and changelog sections.