Station

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-station

About this component

A destination field on a porcelain enamel railway sign: bottle green with a cream painted border, two domed screws and chipped corners showing the iron. The words go on in condensed cream capitals, and focus runs a glint across the glaze.

Triggers

  • Focus
  • Border
  • State change

Techniques

  • Gradient
  • Radial gradient
  • Keyframes
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input named by aria-label ("Destination"); the screws, chips, gloss and marker are aria-hidden. Focus draws an amber ring round the sign.

Reduced motion

The glint and blink are off.

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

More inputs

See all
TeletextGet code
TitaniumGet code
VelvetGet code
VFDGet code