Skip to content
caliper ui pro docs

Card folder

A stack of cards in a folder tab.

Pro

Open the folder and choose a template.

When to use

  • Organised sets of cards.

When not to use

  • One card.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/card-folder

Adds its 2 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.

API reference

CardFolder

5 props
PropTypeDefault
label *string—
cards *readonly FolderCard[]—
onSelect((id: string) => void)—
defaultOpenbooleanfalse
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It is built on native elements and keeps aria-label, aria-hidden, aria-expanded and aria-controls in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/card-folder.md

The index of every part is at /llms.txt.

More in Utility blocks