Carbon

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-carbon

About this component

A driver name field on a slanted carbon fibre plate under clear coat, with orange and blue racing stripes and orange stitching. The words go on in italic white, and focus widens the stripes and sweeps a sheen across the coat.

Triggers

  • Focus
  • Glow
  • State change

Techniques

  • Gradient
  • Transform only
  • Keyframes
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input named by aria-label ("Driver name"); the plate, stripes, stitching and marker are aria-hidden. Focus draws an orange ring round the plate.

Reduced motion

The stripes, sheen and blink hold still.

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

More inputs

See all
CeladonGet code
CyanotypeGet code
GlitterGet code
HighlightGet code