Sticker

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-sticker

About this component

A nickname field die-cut as a butter-yellow sticker with a fat white border and one corner starting to peel. Two small stars twinkle beside it, and focus peels the corner further back and tips the sticker a degree.

Triggers

  • Focus
  • Hover
  • Ambient

Techniques

  • clip-path
  • CSS transition
  • Keyframes
  • Filter

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input (16 characters at most) inside a <label>, named by aria-label ("Nickname"); the peel, stars and drawn cursor are aria-hidden.

Reduced motion

Every transition and animation is switched off.

Use it in anything you build, commercial and client work included. Licence

More inputs

See all
StitchGet code
SumGet code
SwissGet code
TapeGet code