Claude Code card templates for AI websites and apps
Real card designs you can copy into Claude Code. Claude Code turns a pasted template into code in whatever stack your project already uses, from plain HTML to Next.js or SvelteKit. Below: the designs, how to set Claude Code up so it keeps the design, and what makes a good card section.
Claude Code card templates
85 card design templates for Claude Code. Browse the full BrowserMoon library for every template category.
48 of 85
How to use card templates with Claude Code
Pick a design
Choose a card design above and open it to see it live.
Copy the template
Copy the template from its page. It is one HTML file with no dependencies.
Set up Claude Code
Save the template in your repo, for example as design/template.html, and point to it from CLAUDE.md so Claude Code reads it at the start of every session.
Prompt, then refine
Paste it and describe your product. Then follow up with: "Rebuild this section in our stack using design/template.html. Keep its spacing, type sizes and colours exactly; change only the text."
What makes a good card section
Common types: feature cards, pricing cards, product cards, profile cards and stacked or tilted card showcases.
One idea per card
A title, a short line and one action at most.
Consistent size
Cards in a row share height and spacing.
Whole card clickable
When a card leads somewhere, the full card is the link.
Common mistake: Cards stuffed with buttons, tags and long text.
Keeping the design in Claude Code
Claude Code works in your terminal on a real codebase, so it suits developers who want the design built into an existing project and kept consistent across many sessions.
What Claude Code builds
Code in whatever stack your project already uses, from plain HTML to Next.js or SvelteKit.
Where the design goes
Save the template in your repo, for example as design/template.html, and point to it from CLAUDE.md so Claude Code reads it at the start of every session.
Claude Code and card sections
Without a rule in CLAUDE.md, later sessions drift back to generic spacing and colours. Paste the template again with your follow-up prompt if it starts to drift.
What to tell it
Keep the card size, radius and spacing consistent, and keep one action per card.
Set it up once with our CLAUDE.md design template.
Not sure which card design fits?
Ask Mon, the AI design assistant, describe your product and Mon suggests the card design and how to prompt Claude Code with it.
Frequently asked questions
How do I use a card template in Claude Code?
Paste the template code into your Claude Code session and tell it what to build around the design. Save the template in your repo, for example as design/template.html, and point to it from CLAUDE.md so Claude Code reads it at the start of every session.
What does Claude Code turn the template into?
Code in whatever stack your project already uses, from plain HTML to Next.js or SvelteKit.
How do I stop Claude Code changing the design?
Without a rule in CLAUDE.md, later sessions drift back to generic spacing and colours. A follow-up prompt that helps: "Rebuild this section in our stack using design/template.html. Keep its spacing, type sizes and colours exactly; change only the text."
What makes a good card section?
One idea per card: a title, a short line and one action at most. Consistent size: cards in a row share height and spacing. Whole card clickable: when a card leads somewhere, the full card is the link.
Any Claude Code tips for card sections?
Without a rule in CLAUDE.md, later sessions drift back to generic spacing and colours. Paste the template again with your follow-up prompt if it starts to drift.
More Claude Code template categories
Card templates for other tools