219
A thumbnail that lifts off the grid and grows into its own detail view as one object, cover and title travelling with it, the details fading in once it lands; Escape or a click outside folds it back into its exact slot.
akashared element·layoutId·expand card
Run this in any project set up for the shadcn CLI. It copies the Lift to Open source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/lift-to-open.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { LiftToOpen } from "@/components/lift-to-open";
export default function Page() {
return <LiftToOpen />;
}A free React motion component in the Surfaces collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Lift to Open source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| itemsrequired | LiftToOpenItem[] | — |
| className | string | — |
| label | string | "Gallery" |