Luggage

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-luggage

About 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

More inputs

See all
MagnetsGet code
MalachiteGet code
PapercutGet code
PoolGet code