Curved board
ProA kanban board wrapped on a cylinder. The column you are in faces you; the others curve away at 32 degrees apart, still in sight, so a wide board fits a narrow screen without scrolling sideways. Moving a card also turns the wall to its new column.
pnpm dlx shadcn@latest add @caliper/curved-boardBacklog2
Doing2
Review1
Done2
Choose a card to move it. Alt with the arrows moves it too.
When to use #
Use it for
- Boards with four to six columns that need to fit a laptop or a phone without a sideways scroll.
- Review flows where the next and previous stage should always be in sight.
Skip it when
- Boards where people compare cards across several columns at once; use the flat board.
- Many columns or very dense cards.
Decisions #
Why it is built this way, so you know what to keep when you change your copy.
Behaviour
- Only the front column is reachable
- Cards in the other columns are inert, so Tab never lands on something that is turned away. Choosing a column from the buttons, the arrows or a swipe brings it round.
- Moving a card has buttons and keys
- A card is a toggle button. Move to the previous or next column are real buttons, and Alt with the arrows does the same. The result is announced.
Usage
- You own the cards
- The board reports onMove and you reorder your data. The wall turns to the new column and focus returns to the card.
Installation #
pnpm dlx shadcn@latest add @caliper/curved-board
Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
Usage #
Import it from your copy of the source. The example behind the preview comes with the source.
import { CurvedBoard } from "@/components/ui/curved-board"
The worked example comes with Pro
The 38-line example behind the preview opens here with a Pro or Team licence.
API reference #
CurvedBoard
component
Accessibility #
It exposes group semantics, with aria-label, aria-pressed and aria-live kept in step with state. Changes that matter are announced through a live region.
Motion #
It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.