choyfrancis/react-ui ? reverse-engineered prompt

Reverse engineered prompt

Build me a clean React UI starter in TypeScript that I can use as a foundation for a component library.

I want it set up with a modern Vite app, Tailwind styling, and a simple example component like a reusable Button that supports normal text, click handling, and a disabled state. Please include a working test setup with Vitest and Testing Library, plus a sample test file that checks the button renders, responds to clicks, and can be disabled.

Also set up linting so the project is ready to use right away, and make sure the app builds and runs without any extra manual steps. Keep the starter minimal, polished, and easy to extend, with the basic config files and scripts already in place. If you need to check current docs for the latest setup details, feel free to look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab