Velvet
Markup where the component goes, CSS in your stylesheet. No JavaScript.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/input-velvetAbout this component
A gift message field on a plum velvet pad set in a polished brass tray, the words pressed into the pile in a pale sheen. Focus shifts the sheen across the nap and runs a glint along the brass.
Triggers
- Focus
- State change
Techniques
- @property
- Radial gradient
- SVG filter
- Keyframes
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native text input named by aria-label ("Gift message"); the tray, pad and marker are aria-hidden. Focus draws a plum ring round the tray.
Reduced motion
The sheen, glint and blink hold still.
Use it in anything you build, commercial and client work included. Licence