NNEESESSWWNWNNEESESSWWNW
Ben NevisN 59°
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardPanorama(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-panoramaA summit card holding a full 360 degree panorama: it turns slowly on its own, and you can grab it and drag to look around, with momentum, the view wrapping forever while the bearing and compass strip under it follow where you are facing.
Keyboard and screen readers
The view is a focusable slider (role="slider") whose value is the bearing in degrees with its compass point; the arrow keys turn it.
Reduced motion
It does not drift and stops when you let go.
Use it in anything you build, commercial and client work included. Licence
Invoice 004212 Nov
Fern & Field Studio