Skip to content
caliper ui pro docs

Sticker peel

Stickers you peel off a surface. Press one and the corner nearest your finger curls back over a fold; keep holding and it lifts free and follows you; let go and it presses flat again with a little squash.

Pro

When to use

  • Playful personalisation: laptop lids, profile walls, journals, reward collections.
  • Marketing and onboarding moments where a tactile object earns its place.

When not to use

  • Arranging content people must find again; use a board with alignment.
  • Dense surfaces; stickers need room around them to be grabbed.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/sticker-peel

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

StickerPeel

3 props

Also accepts the native props of its root element and a ref.

PropTypeDefaultDescription
label *string—Names the surface, e.g. "Laptop lid".
stickers *Sticker[]—Each sticker's centre as fractions of the surface (0 to 1).
onMove((id: string, x: number, y: number) => void)—

Keyboard

Enter
Activates the focused control.
Space
Activates the focused control.
Escape
Closes or cancels, then returns focus to where it came from.

Accessibility

It exposes group semantics, with aria-label, aria-pressed, aria-hidden and aria-live kept in step with state. Changes that matter are announced through a live region.

Notes for AI

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

/docs/components/sticker-peel.md

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

More in Surfaces