Claude Code dark mode templates for AI websites and apps
Real dark mode 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 dark mode section.
Claude Code dark mode templates
49 dark mode design templates for Claude Code. Browse the full BrowserMoon library for every template category.
48 of 49
How to use dark mode templates with Claude Code
Pick a design
Choose a dark mode 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 dark mode section
Common types: dark landing pages, dark dashboards, dark heroes over a glow and full dark product sites.
Near-black, not pure black
Dark grey backgrounds with lighter layers create depth.
Readable contrast
Body text stays light enough to read comfortably.
One accent colour
Colour is used sparingly so it means something.
Common mistake: Grey text on near-black that is too dim to read. Dark mode website design ideas →
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 dark mode 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 background layers and accent colour exactly, and check that body text keeps enough contrast.
Set it up once with our CLAUDE.md design template.
Not sure which dark mode design fits?
Ask Mon, the AI design assistant, describe your product and Mon suggests the dark mode design and how to prompt Claude Code with it.
Frequently asked questions
How do I use a dark mode 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 dark mode section?
Near-black, not pure black: dark grey backgrounds with lighter layers create depth. Readable contrast: body text stays light enough to read comfortably. One accent colour: colour is used sparingly so it means something.
Any Claude Code tips for dark mode 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
Dark mode templates for other tools