Claude Code Web Design Starts With a Reference URL
Start Claude Code web design with a reference URL. Get a prompt, find UI code, and learn what to check in mobile and desktop browsers.

Before you start
- You'll need Claude Code, one reference URL, and a React and Tailwind CSS project.
- Use Awwwards or Landbook to find a design direction, and 21st.dev or Uiverse to find UI code.
- Give Claude Code the URL and a prompt covering design analysis and implementation.
- Include instructions not to copy the original content and to check the result in mobile and desktop browsers.
If you've opened Claude Code to build a homepage but can't quite describe the design you want, start with a URL. A site you like gives you a reference for the layout, typography, colors, and spacing. Keep that design reference separate from the places where you'll find code to implement it.
Separate design references from UI code
Design galleries help you choose the look and structure of a page. Code libraries help you find the components needed to build it, so settle on a direction first. Once you know which UI elements you need, look for implementation code.
| Resource type | What it provides | When to use it |
|---|---|---|
| Design inspiration | References for visual direction and page structure | When choosing a reference URL |
| Implementation resources | Code for the UI elements you need | Once you've identified the components |
Choose one reference URL
Start with the overall layout and feel, including how the page unfolds as you scroll. Then look more closely at its sections and individual elements, such as buttons and cards. Each gallery collects different kinds of work, so choose one that fits what you're looking for.
| What you're looking for | Reference sites | Typical examples |
|---|---|---|
| Overall feel and motion | Awwwards, Recent | Award-winning sites with 3D and animation; distinctive website designs |
| Landing pages and company websites | Landbook, SiteInspire | Startup and SaaS landing pages; minimal company and brand websites |
| Page sections | Lapa Ninja, One Page Love | Landing pages grouped by business type; one-page websites |
| Individual UI elements and project examples | Dribbble, Behance | Buttons, cards, and dashboards; branding and web design projects |
Landdding also focuses on startup and SaaS landing pages, so there's no need to browse both it and Landbook. Pick whichever suits your taste. For your first prompt, one site whose overall structure and scrolling flow you want to reference is enough.

Give Claude Code the URL and a brief
Put your chosen URL into the prompt below. It combines a request for design analysis with the conditions for building the page. The implementation uses React and Tailwind CSS, so have a matching project ready.
Analyze the design of the following reference website and build a new homepage.
Reference URL: [Enter URL]
1. Analyze the layout, typography, colors, and spacing.
2. Analyze scroll effects and animations.
3. Design a responsive layout for mobile.
4. Implement it with React and Tailwind CSS.
5. Do not copy the original site's logos, images, or text.
6. Verify the result in actual browsers on mobile and desktop.
Use the reference site's design principles to create an original result.The prompt separates the visual analysis from the motion analysis, then asks explicitly for a mobile layout. If you use Codex, you can give it the same URL and analysis requests.
Request mobile and desktop browser checks
After implementation, the page needs to be checked in an actual browser. The prompt asks for both mobile and desktop verification so the work doesn't stop at the desktop layout. Specify that the checks should cover how the layout changes on mobile, along with scroll effects and animations.

Find the UI code you need
Once the page structure is settled, look for the components and small interactions it needs. The sites below provide implementation resources, but check their costs and project requirements before bringing code into your project.
| Site | What you can use | Cost and requirements |
|---|---|---|
| 21st.dev | React UI components and animation code | Free accounts can make up to 2 copies per day |
| Uiverse | Small UI elements such as buttons and loading indicators | Free UI code |
| tweakcn | shadcn/ui themes covering colors, typography, border radius, and shadows | Free, no signup required; exports Tailwind v3/v4 code |
| Cult UI | Dynamic components from a shadcn registry | 150+ components, all free and MIT-licensed; Tailwind CSS v4. Checked November 14, 2026 |
Cult UI is worth a look if your project uses shadcn/ui. Its public documentation says the CLI copies component source into your project, and most animations use Motion. Unlike browsing a design example, importing a component puts code directly into your project, so check its dependencies too.
Check copy limits and compatibility
In the next post, I'll apply this prompt to an actual project and work through checking the page in mobile and desktop browsers. For now, pick one reference URL whose overall layout and scrolling flow you'd like to borrow.