Terrazzo

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-terrazzo

About this component

A search field carved as a smooth channel into a slab of cream terrazzo flecked with terracotta, sage, navy and mustard chips, with a brass rim round the channel. Focus sends a gleam once round the brass and nudges the chips.

Triggers

  • Focus
  • Border
  • Glow

Techniques

  • Conic gradient
  • clip-path
  • Keyframes
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input with enterkeyhint search inside a <label>, named by aria-label ("Search materials"); chips, rim, 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
VaultGet code
VitroGet code
WashGet code
Y2KGet code