Papercut
Markup where the component goes, CSS in your stylesheet. No JavaScript.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/input-papercutAbout 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