Skip to content
Claude Code & Tools

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 typeWhat it providesWhen to use it
Design inspirationReferences for visual direction and page structureWhen choosing a reference URL
Implementation resourcesCode for the UI elements you needOnce 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 forReference sitesTypical examples
Overall feel and motionAwwwards, RecentAward-winning sites with 3D and animation; distinctive website designs
Landing pages and company websitesLandbook, SiteInspireStartup and SaaS landing pages; minimal company and brand websites
Page sectionsLapa Ninja, One Page LoveLanding pages grouped by business type; one-page websites
Individual UI elements and project examplesDribbble, BehanceButtons, 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.

Choose one reference URL

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.

Text
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.
A homepage prompt to use with your reference URL

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.

Request mobile and desktop browser checks

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.

SiteWhat you can useCost and requirements
21st.devReact UI components and animation codeFree accounts can make up to 2 copies per day
UiverseSmall UI elements such as buttons and loading indicatorsFree UI code
tweakcnshadcn/ui themes covering colors, typography, border radius, and shadowsFree, no signup required; exports Tailwind v3/v4 code
Cult UIDynamic components from a shadcn registry150+ 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.

Joy

Leads AI adoption at a large Korean enterprise. Uses AI firsthand, at work and in everyday life, and writes down what ran, what stalled, and how it changes the way we work and think.

Need help rolling out tools or training your team?

Talks and advisory

Share this postXFacebookThreads