BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/loomui/sticker-peel

Sticker Peel

loomui/sticker-peel
FreeComponent

A card whose corner lifts off the page on hover, folded back over the crease to show its backing.

Live preview

live · rendered by the registry
Rendered by loomui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://loomui.design/r/sticker-peel.json

Source

registry/loomui/sticker-peel.tsxloomui.design/r/sticker-peel.json
1"use client"
2
3import * as React from "react"
4
5import { cn } from "@/lib/utils"
6
7export interface StickerPeelProps extends React.ComponentProps<"div"> {
8 /** How far the corner lifts, as a CSS length. */
9 size?: string
10 /** Which corner peels. */
11 corner?: "top-left" | "top-right" | "bottom-left" | "bottom-right"
12 /** Length of the peel in milliseconds. */
13 duration?: number
14 /** Hold the corner up. Leave it out to peel on hover and focus. */
15 peeled?: boolean
16}
17
18/**
19 * Each corner is one cut and one flap. The flap is the cut triangle mirrored
20 * back over the crease, which is why its tip lands inside the sticker rather
21 * than on top of the corner it came from.
22 */
23const CORNERS = {
24 "top-left": {
25 face: (size: string) =>
26 `polygon(${size} 0, 100% 0, 100% 100%, 0 100%, 0 ${size})`,
27 flap: "polygon(0 100%, 100% 0, 100% 100%)",
28 anchor: "top-0 left-0 origin-top-left",
29 sheen: "bg-linear-to-br",
30 },
31 "top-right": {
32 face: (size: string) =>
33 `polygon(0 0, calc(100% - ${size}) 0, 100% ${size}, 100% 100%, 0 100%)`,
34 flap: "polygon(0 0, 100% 100%, 0 100%)",
35 anchor: "top-0 right-0 origin-top-right",
36 sheen: "bg-linear-to-bl",
37 },
38 "bottom-left": {
39 face: (size: string) =>
40 `polygon(0 0, 100% 0, 100% 100%, ${size} 100%, 0 calc(100% - ${size}))`,
41 flap: "polygon(0 0, 100% 100%, 100% 0)",
42 anchor: "bottom-0 left-0 origin-bottom-left",
43 sheen: "bg-linear-to-tr",
44 },
45 "bottom-right": {
46 face: (size: string) =>
47 `polygon(0 0, 100% 0, 100% calc(100% - ${size}), calc(100% - ${size}) 100%, 0 100%)`,
48 flap: "polygon(100% 0, 0 100%, 0 0)",
49 anchor: "bottom-0 right-0 origin-bottom-right",
50 sheen: "bg-linear-to-tl",
51 },
52} as const
53
54export function StickerPeel({
55 children,
56 size = "2.75rem",
57 corner = "bottom-right",
58 duration = 380,
59 peeled,
60 className,
61 onPointerEnter,
62 onPointerLeave,
63 onFocus,
64 onBlur,
65 ...props
66}: StickerPeelProps) {
67 const [hovered, setHovered] = React.useState(false)
68 const isControlled = peeled !== undefined
69 const lifted = isControlled ? peeled : hovered
70 const spec = CORNERS[corner]
71
72 return (
73 <div
74 data-slot="sticker-peel"
75 data-peeled={lifted ? "" : undefined}
76 className={cn("relative isolate", className)}
77 onPointerEnter={(event) => {
78 onPointerEnter?.(event)
79 setHovered(true)
80 }}
81 onPointerLeave={(event) => {
82 onPointerLeave?.(event)
83 setHovered(false)
84 }}
85// … truncated

What it pulls in

Other registry items

  • utils

Files it writes

  • registry/loomui/sticker-peel.tsx

Facts

Registry
loomui
Type
registry:ui
Access
Free
Files written
1
Theme wiring
ships cssVars
Licence
MIT
In the index
at or before 2026-08-20
Last confirmed
yesterday

Go to the source

Docs on loomui loomui.design rjcuff/Loom-UI on GitHub Raw registry item This item as JSON

More from loomui

All 91 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Aurora Backdropaurora-backdroploomuiComponentsFreeno deps
Bento Gridbento-gridloomuiComponentsFreeno deps
Card Stackcard-stackloomuiComponentsFreeno deps
Compare Slidercompare-sliderloomuiComponentsFreeno deps
Confetti Buttonconfetti-buttonloomuiComponentsFreeno deps
Count Upcount-uploomuiComponentsFreeno deps
Credit Cardcredit-cardloomuiComponentsFreeno deps
DrawerdrawerloomuiComponentsFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored on what can be checked

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex