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.
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
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.
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.mdThe index of every part is at /llms.txt.