Pixel UI/Delight/Paper sticker

Paper sticker

A die-cut sticker badge whose corner peels.

<piix-paper-sticker>DOM + canvasNew
New
Shape

A vinyl sticker with a thick white die-cut border, stuck on at a jaunty angle. Hover and its corner curls back to show the shiny backing; click and it slaps back down. Pill, circle or star.

Installation

<!-- once, anywhere on the page: every component -->
<script src="https://cdn.jsdelivr.net/npm/piixpal@0.6/piixpal.min.js"></script>

Usage

<piix-paper-sticker>New</piix-paper-sticker>

Examples

Shapes and colours

New 50% off Hot

API reference

AttributeWhat it doesDefault
colorsticker colour#ffd23f
inktext colour#1d1a2b
shapepill circle starpill
tiltdegrees-6

Accessibility