Tile that grows into a case page
Click a tile and it grows smoothly into the top of the case page.
UniversalNew
Install
npx finepieces add tile-to-caseOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/tile-to-case.jsonClick a tile
example.tsx
import { TileToCase } from "@/components/fine-pieces/tile-to-case";
export default function Example() {
return (
<TileToCase
projects={[
{ title: "Villa Duin", image: "/images/interieur-1.webp", text: "A home with light in every room, designed by Studio Nord." },
{ title: "Loft Noord", image: "/images/stoel-1.webp", text: "An old warehouse floor, opened up to the river." },
{ title: "House by the sea", image: "/images/stoel-3.webp", text: "Lime walls and oak, built to weather well." },
{ title: "Studio East", image: "/images/interieur-3.webp", text: "A workplace for twelve, with one long table." },
]}
/>
);
}