Memphis

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-memphis

About this component

A search field in a thick black outline with a hard pink shadow and a yellow triangle, a teal squiggle and a patch of blue dots pinned round it. Focus kicks the shadow across to teal while the shapes hop and turn.

Triggers

  • Focus
  • Spring
  • Border
  • Icon

Techniques

  • CSS transition
  • clip-path
  • Radial gradient
  • SVG stroke

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input with enterkeyhint search inside a <label>, named by aria-label ("Search"); the shapes, icon 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
MeshGet code
OutrunGet code
PasscodeGet code
RisoGet code