Papercut

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-papercut

About this component

A search field in layered paper cut: four sheets of coloured card, each cut a little smaller than the one beneath with its own soft outline, stacked with real shadows between them. You type on the cream top sheet, and focus lifts the layers apart.

Triggers

  • Focus
  • Spring
  • State change

Techniques

  • border-radius
  • Transform only
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input named by aria-label ("Search"); the sheets, seal and marker are aria-hidden. Focus draws a teal ring round the top sheet.

Reduced motion

The lift and blink are off.

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

More inputs

See all
PoolGet code
SpectrumGet code
StationGet code
TeletextGet code