Curved Tile Wall
A gallery bent onto a sphere section in real CSS 3D: mixed-height frames drift, swing with drag, pop toward you on hover and open in a focused lightbox.
Try it: Drag or move to swing the wall; hover to pop a frame; click to open.
Brings its own background. Paints its own stage with light and dark: variants — warm paper with soft drop shadows on light pages, near-black with cyan hover glow on dark. Override the surface with className (e.g. bg-*, rounded-*).
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/curved-tile-wall.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/curved-tile-wall. You can also copy the source into components/ui/curved-tile-wall.tsx (view on GitHub).
Usage
import { CurvedTileWall } from '@/components/ui/curved-tile-wall'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
items | CurvedWallItem[] | DEFAULT_CURVED_WALL_ITEMS | { id, title, caption?, src?, hue? } — src swaps the generated landscape for your image. |
eyebrow / title / subtitle | string | — | Heading copy above the wall. |
drift | number | 10 | Auto-drift amplitude in degrees (0 disables). |
onItemOpen | (item) => void | — | Fires when a frame opens in the lightbox. |
Dependencies
motionlucide-react
Related Cards components
- Fan Deck Carousel
Poster cards fanned around an upright hero card; swipe, arrow keys or buttons re-fan the hand on springs while a blurred copy of the active art crossfades behind.
- Lenticular Shift Card
A postcard printed on a ridged lenticular sheet: tilting interlaces the scenes in fine vertical blinds that sweep across the print while a specular band rides the ridges.
- Tide Deck
Drag a deck whose depth reacts to velocity.
- Origami Unfold Card
A trail ticket that unfolds like a paper map: press the cover and two creased panels swing down in sequence on real CSS-3D hinges, catching light as they flatten, while the route draws itself and…
- Windowpane Story Card
Frosted pane slides to reveal evidence.
- Folder Fan Showcase
Social post cards wait inside a frosted-glass folder, peeking over the rim of a blurred front pocket. Hover or focus and they rise and fan out on staggered springs; pick one and it lifts clear of…