Website kits › Studio › Case study

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

Case study props

PropTypeDefaultDescription
onNavigate(page: StudioPage) => voidCalled when a nav or footer link is used.
studiostringStudio name in the nav and footer.
clientstring
titlestring
summarystring
facts{ label: string; value: string }[]
results{ value: number; suffix?: string; label: string }[]
nextstring
autoplaybooleanShowcase mode: the comparison handle sweeps by itself.
onNext() => void

Methods on the ref

Use it in React

import StudioCase from './StudioCase';

<StudioCase />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Studio

Good for: Portfolio website templates, Agency website templates.