check
Code copied to clipboard.
close
menu

Sticker

Stickers are tiny text blocks inside a filled container, useful as tags, labels, or status indicators.

Example Instance

<Sticker content="Info" color="info" />
content_copy
warning
Note: The above snippet omits import statements and surrounding markup. It's assumed you'd be pasting this inside the return block of an existing functional component.

Installation

Next.js

Note: Other React frameworks are not currently supported, but they might still work. Try at your own risk.

Method Instructions
LiftKit CLI
From any Next.js project, run the following command in your terminal.
npm run add sticker
content_copy
Github open_in_new View on Github

Props

Unique

Props unique to this component.

Name Required Type Description Default Val
bgColor no LkColor Optional background color with on-token support for the sticker undefined
className no string Optional CSS class name (note: internal logic controls rendering order) undefined
fontClass no LkFontClass Optional font class styling for the sticker text undefined

Common

Props with globally-defined behavior that are used in multiple components.

Common PropsStatus
{children}Supported
Native HTML attributesSupported