Luggage
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-luggageAbout this component
A name field on a leather luggage tag: tan leather, cream saddle stitching and a brass eyelet threaded with its strap. You type on the card behind the clear window, and focus swings the tag on its strap.
Triggers
- Focus
- Spring
- State change
Techniques
- Radial gradient
- Keyframes
- Transform only
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A native text input named by aria-label ("Owner's name"); the strap, stitching, eyelet, window and marker are aria-hidden. Focus draws an amber ring round the tag.
Reduced motion
The swing and blink are off.
Use it in anything you build, commercial and client work included. Licence