Y2K

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-y2k

About this component

A search pill in a polished chrome bezel with a pale gel well for the text and a glossy blue lens at its head. A star glints on the chrome now and then, and focus puts a pulsing aqua ring round the whole pill.

Triggers

  • Focus
  • Glow
  • Ambient
  • Icon

Techniques

  • Gradient
  • Keyframes
  • clip-path
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input with enterkeyhint search inside a <label>, named by aria-label ("Search"); lens, glint and drawn cursor are aria-hidden.

Reduced motion

Every transition and animation is switched off.

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

More inputs

See all
CleaveGet code
ComboGet code
CellsGet code
HaloGet code