Website kits › Studio › Case study
Drag the before/after handle and it lags behind your hand on a spring, then results count up below.
Case study is a page from Studio, a website kit with 5 pages: A complete five-page studio website, with motion on every page. Price: free.
Built with: spring compare handle, count-up results, hover art wipe.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
Install with the shadcn CLI: npx shadcn@latest add https://motionmart.store/r/studio-case.json
| Prop | Type | Default | Description |
|---|---|---|---|
onNavigate | (page: StudioPage) => void | Called when a nav or footer link is used. | |
studio | string | Studio name in the nav and footer. | |
client | string | ||
title | string | ||
summary | string | ||
facts | { label: string; value: string }[] | ||
results | { value: number; suffix?: string; label: string }[] | ||
next | string | ||
autoplay | boolean | Showcase mode: the comparison handle sweeps by itself. | |
onNext | () => void |
destroy(): voidimport StudioCase from './StudioCase';
<StudioCase />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Portfolio website templates, Agency website templates.