Delft

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-delft

About this component

A web address field on a white porcelain tile with a cobalt line painted round it and a small painted sprig in two corners. Focus repaints the line in one brush stroke while the sprigs open out.

Triggers

  • Focus
  • Draw
  • Border

Techniques

  • SVG stroke
  • stroke-dashoffset
  • Radial gradient
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native url input inside a <label>, named by aria-label ("Website"); the painted line, sprigs 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
DraftGet code
E-inkGet code
FoilGet code
FoldGet code