Crafter UI

Spine Accordion

Galleries 94

About

A gallery panel that shows projects as thin vertical spines with sideways titles, opening one into a full framed image on hover, tap, or keyboard focus while the others collapse back.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Spine Accordion to your project and fits it to your theme.

Code

How Spine Accordion is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { SpineAccordion } from "@/components/ui/spine-accordion";

export default function SpineAccordionDemo() {
  return (
    <div className="flex h-screen w-full items-center justify-center p-8">
      <SpineAccordion
        className="max-w-4xl"
        defaultIndex={2}
        items={[
          {
            title: "Northern Lights",
            image: "https://cdn.21st.dev/assets/mirror/87/870a7dad1337e336ce3e626636f17d0ccda58c3ed444002a07696259a7188bdb.jpg",
            meta: "2021",
          },
          {
            title: "Desert Bloom",
            image: "https://cdn.21st.dev/assets/mirror/a6/a6baeb8c089233379e22b1393477be200b3a3b7a0745e64cc825c339c8463e0b.jpg",
            meta: "2022",
          },
          {
            title: "Coastal Drift",
            image: "https://cdn.21st.dev/assets/mirror/48/48288a1b78fecf95a5b8419b6c6e2187b289874ff8286e6681400863f4255c5b.jpg",
            meta: "2023",
          },
          {
            title: "Urban Pulse",
            image: "https://cdn.21st.dev/assets/mirror/70/707ab186017a71e70a4cc005b13fe2848ab7a677bd8a3d6ccb56d29f81571d0f.jpg",
            meta: "2024",
          },
        ]}
      />
    </div>
  );
}

More by Crafter UI

View all
  • Works Wheel

    Works Wheel

    2.9K
  • Hero Carousel

    Hero Carousel

    2.2K
  • Molten Ring Carousel

    Molten Ring Carousel

    320
  • Dither Helix Carousel

    Dither Helix Carousel

    195
  • Username Reel

    Username Reel

    103
  • Handwritten Response

    Handwritten Response

    92
  • Super Hover List

    Super Hover List

    65
  • Mercury Dial

    Mercury Dial

    10

More in Galleries

View all
  • Scattered About

    Scattered About

    83
  • Product Hover Showcase

    Product Hover Showcase

    125
  • Photo Deck

    Photo Deck

    82
  • Gallery Component

    Gallery Component

    50
  • Morph Gallery

    Morph Gallery

    6
  • File Upload

    File Upload

    22
  • About 3

    About 3

    460
  • Cylinder Tunnel Gallery

    Cylinder Tunnel Gallery

    63