r/ClaudeCode • u/vinishkapoor • 2d ago
Built with Claude Made a component library with Claude Code that Claude Code can also install for you
Built VinUI with Claude Code: 63 components, 13 page blocks and 16 charts for HTML, React, Vue and Svelte, with eight visual styles that switch through CSS variables only.
The part that might interest this sub is how you use it with Claude Code. Instead of installing a package, a CLI copies source files into your project:
npx /ui init
npx u/vinish/ui add <component>So you can just ask Claude Code to "add a VinUI pricing table in the Clay style", and it runs the CLI and adds real components in your framework. There's also an llms.txt so agents know what's available.
What worked when building it:
- Getting one component right in one style before scaling
- Making Claude turn every visual choice into a variable, so new styles never touch markup
- Porting to each framework one at a time with the same names and props
- Running accessibility checks across all 8 styles in light and dark
MIT licensed.
Docs: https://vinish.dev/ui
Repo: https://github.com/devvinish/vin-ui
•
u/AutoModerator 2d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/JollyContribution831 2d ago
Un composant qui s'appelle "Trace" dans la catégorie AI chat, ça rend quoi exactement? Les étapes de raisonnement repliées? C'est la première fois que je vois ça packagé en composant réutilisable.