UI Components
Your first feature works – now make it look the part. This lesson is about consistency and reuse: shared, reusable components so your whole app feels like one polished product, not a patchwork of one-off styles.
You'll use the exact same loop as the last lesson – plan, build, preview, refine, ship – just focused on design and reuse.
1. Plan a consistent, reusable design
Tell Claude how you want to work going forward: build on shadcn/ui (and any other component libraries you like), and reuse components across the app instead of styling each thing from scratch. Do this in plan mode first (Shift+Tab) so you can agree on the approach before any code changes.
Outcome: You have a plan to make your feature consistent and reusable.
2. Build the polished version
Approve the plan, switch to auto-accept, and let Claude apply it. Watch it come together in the preview.
Outcome: Your feature looks production-ready and consistent with the rest of your app.
3. Preview, refine, and ship
Try it at different screen sizes, give feedback, and iterate until it feels right – then ship it.
Outcome: Your polished feature is live, and you have reusable components to build on next time.