# Sticker Peel · Pro

Any child becomes a sticker: a corner lifts on hover to show a lighter underside with a real fold shadow, and it can be dragged around its parent. The flap is the content itself mirrored across the fold line, so it works at any size.

This is a Charcoal UI Pro component. Its source and examples are available with a Pro seat: https://charcoalui.com/pricing

## With a Pro seat

1. Add the registry to components.json:

```json
{
  "registries": {
    "@charcoal": {
      "url": "https://charcoalui.com/r/{name}.json",
      "headers": {
        "Authorization": "Bearer ${CHARCOAL_LICENSE_KEY}"
      }
    }
  }
}
```

2. Copy your licence key from https://charcoalui.com/dashboard and put it in .env.local as CHARCOAL_LICENSE_KEY, then:

```bash
npx shadcn@latest add @charcoal/sticker-peel
```

To read Pro source through this MCP server, reconnect it with the header "Authorization: Bearer <licence key>".

## API — Sticker Peel
| Prop | Type | Default | Notes |
| --- | --- | --- | --- |
| `children` | `ReactNode` | — | Usually an image. Give it `draggable={false}`. |
| `peel` | `number` | `56` | How far the corner lifts on hover, in px. |
| `corner` | `"tr" \| "tl" \| "br" \| "bl"` | `"tr"` |  |
| `rotate` | `number` | `4` | Degrees the sticker tilts while hovered or dragged. |
| `shadow` | `number` | `0.5` | Shadow strength under the flap, 0 to 1. |
| `draggable` | `boolean` | `true` | Drag around the parent element. |
| `className` | `string` | — |  |

See it live: https://charcoalui.com/docs/components/sticker-peel