Use when user requests a single standalone UI element — a button, form, card, input, or similar — with no broader feature context
Build a single React component. Always:
Build the component using:
any, no implicit typesstyle={{...}}, no CSS modules, no other UI librariesAlso create a co-located test file using Vitest + React Testing Library that covers the primary behaviour.
src/components/ComponentName.tsxsrc/components/ComponentName.test.tsxstrict: true respected — no any typesnoImplicitAny and strictNullChecks respectedstyle={{...}}).module.css)ComponentName.test.tsx alongside ComponentName.tsx)style={{...}} inline styles — Tailwind classes onlyany — all props must be typed in an explicit interfaceComponentName.test.tsx in the same directory as ComponentName.tsx