# Website Design & Build Guide

A practical starting guide for planning a website’s visual direction, briefing an AI assistant and reviewing the resulting build.

## How to use this guide

1. Replace the bracketed fields in **Project brief** with your project's requirements. Leave an explicit question where a decision is still needed.
2. Give your AI coding assistant this file alongside your approved brief, page copy, brand assets and reference sites. For an existing website, also provide its repository and the parts that must stay unchanged.
3. Ask it to inspect that context, identify missing inputs and propose a visual direction before changing code. A useful starting request is: **"Use this guide to define the design system for my project. First review the existing site and requirements, then propose the tokens, components, page structure and build plan."**
4. Review the proposal. Confirm the direction, content and scope before asking the assistant to implement it in small, reviewable steps.
5. Keep the agreed decisions in the project's `DESIGN.md`. Use the checks at the end of this guide to review the working website before publishing it.

This file is a starting brief, not a finished visual identity. Choose the actual colors, fonts, layouts and assets for the project. Explicit project requirements and approved brand decisions take priority over the suggestions below. Keep useful existing functionality and avoid changing the technology stack just to match a reference.

## Project brief

- **Client or company:** [NAME]
- **Industry and offer:** [WHAT THE BUSINESS DOES]
- **Website goal:** [WHAT THE SITE SHOULD HELP THE BUSINESS ACHIEVE]
- **Target audience:** [WHO VISITS, WHAT THEY NEED AND WHAT MAY STOP THEM ACTING]
- **Primary conversion:** [ENQUIRY, BOOKING, PURCHASE, APPLICATION OR ANOTHER ACTION]
- **Secondary conversion:** [OPTIONAL ACTION, OR NONE]
- **Brand personality:** [THREE OR FOUR SPECIFIC QUALITIES]
- **Pages and sections:** [REQUIRED ROUTES AND THE PURPOSE OF EACH]
- **Required features:** [FORMS, SEARCH, FILTERS, PAYMENTS OR OTHER REAL FUNCTIONALITY]
- **Content and assets:** [APPROVED COPY, LOGOS, FONTS, IMAGES AND AVAILABLE PROOF]
- **References:** [LINKS AND WHAT TO LEARN FROM EACH, WITHOUT COPYING THEM]
- **Existing project:** [STACK, HOSTING, ROUTING AND INTEGRATIONS]
- **Preserve:** [APPROVED COMPONENTS, BRAND CHOICES, BEHAVIOR AND URLS]
- **Constraints:** [BUDGET, SUPPORTED DEVICES, CONTENT LIMITS AND TECHNICAL LIMITS]
- **Out of scope:** [WHAT THIS BUILD WILL NOT INCLUDE]
- **Success criteria:** [OBSERVABLE OUTCOMES AND CHECKS THAT DEFINE DONE]

Ask for essential missing information before making choices that change the project's scope or public claims. For smaller reversible choices, state the assumption and keep it easy to change. Do not invent client results, certifications, testimonials, customers, prices or working integrations.

## 1. Creative role and objective

Work as a creative director, brand designer, UX designer and frontend engineer. Build a website whose visual identity supports the business and whose interface helps visitors complete real tasks.

The first screen should make the offer, audience and next action easy to understand. Use the brand's own material to make it recognizable. Originality should come from a clear point of view, useful content and consistent execution.

## 2. Design philosophy

Use a strong hierarchy, readable typography, deliberate spacing, a clear grid, relevant imagery and visible interactive states. Give each section a reason to exist. Keep the primary action easy to find and secondary actions appropriately quieter.

Choose a few distinctive visual decisions and carry them through the whole site. Describe why they suit this audience and offer. Do not require every project to look minimalist, luxurious, futuristic or editorial.

## 3. Avoid default decoration

Do not add gradients, glass effects, blobs, floating shapes, shadows, pills, icons, oversized headlines or cards merely to fill space. Use them when they clarify the brand or interaction.

Watch for repetitive three-column sections, generic dashboard layouts, interchangeable stock illustrations, meaningless headline copy and animations on every element. Keep an existing grid or component when the project specifically requires it and it serves the content.

Remove fake statistics, fabricated testimonials and generic claims. A useful, truthful section is stronger than decorative proof.

## 4. Define the visual direction before implementation

Propose one coherent direction with:

- A short explanation tied to the audience, offer and brand personality.
- A page hierarchy and the visitor question answered by each section.
- Typography, color roles, spacing, grid, image treatment and component style.
- Desktop and mobile compositions for the key page and conversion flow.
- Interaction and motion rules, including reduced-motion behavior.
- A small set of reference observations: what is useful and what should not be copied.

Translate the chosen direction into reusable design tokens and component rules. Avoid independently inventing styles for every section.

## 5. Typography

Define display, H1, H2, H3, body, supporting text, labels, navigation and button styles. Record family, fallback stack, weight, size, line height and letter spacing for each role. Keep visual size separate from semantic heading level.

Use fonts that the project can legally serve. Prefer a limited set of families and weights, load only what is used and provide readable fallbacks. Avoid downloading an entire font family when a small subset is enough.

Check real copy at narrow and wide widths. Give long-form paragraphs a comfortable measure; allow short leads and utility text to use the available space when appropriate. Use fluid sizing only within sensible limits. Do not force single-line headings or clip text to preserve a desktop composition.

Preserve browser text resizing. Avoid very small text for meaningful content, excessive letter spacing in body copy and all-capital paragraphs.

## 6. Color and design tokens

Define semantic roles rather than scattering raw values through the code:

| Token group | Decisions to record |
| --- | --- |
| Backgrounds | Page, surface, raised surface and overlays |
| Text | Primary, secondary, muted, inverse and links |
| Brand | Primary accent, supporting accent and appropriate on-accent text |
| Feedback | Success, warning, error and informational states |
| Interaction | Hover, active, selected, disabled and keyboard focus |
| Structure | Borders, dividers, shadows and image treatments |
| Geometry | Spacing scale, content widths, gutters, radii and control sizes |
| Layers and motion | Named stacking levels, transition durations and easing |

Keep these values in one appropriate source, such as CSS custom properties or the existing theme configuration. Reuse the project's tokens before introducing new ones.

Check text and controls against their actual backgrounds in each supported theme. Never use color alone to communicate status. If dark and light themes are required, define both intentionally, including logos, illustrations and form controls. Preserve the agreed default theme and switching behavior.

## 7. Layout and spacing

Build a responsive grid with deliberate container widths, outer gutters, section spacing and gaps. Use a small spacing scale so related elements feel connected and separate sections remain distinct.

Choose compositions according to the material: editorial text, image-led sections, split layouts or structured lists and grids. Asymmetry and overlap need a purpose and a working narrow-screen fallback.

Align related card headings, content and actions where this improves comparison. Avoid fixed heights that clip longer copy. Let content grow and use layout rules to align card footers when needed. Preserve a required project grid or section order unless a change is explicitly requested.

## 8. Hero section

Make these answers clear:

1. What does the business offer?
2. Who is it for and why is it useful?
3. What should the visitor do next?

Use an optional eyebrow, specific headline, concise supporting copy, primary action and a secondary action only when it serves a different intent. Add a visual that communicates the work, product or brand.

Avoid generic greetings and claims such as "Welcome to", "Transform your business" or "Your trusted partner" without specifics. Keep the main message visible without excessive empty space. Account for sticky navigation and browser controls when sizing the hero.

## 9. Content strategy and page narrative

Map content to visitor questions: the offer, fit, benefits, scope, proof, process, practical details and next action. Choose the section order for the project rather than repeating the same landing-page formula.

Use plain, credible copy. Describe what a service includes and what a visitor receives. Label links and buttons by their action or destination. Make key information easy to scan without breaking every sentence into a card.

Only include case studies, client logos, testimonials and results that the client is entitled to publish. Mark missing material clearly during drafting and resolve it before launch. Keep public copy separate from implementation notes, internal prompts and unfinished placeholders.

## 10. Imagery and assets

Prefer relevant product imagery, real work, authentic photography or brand-specific graphics. Use texture and illustration where they support the story. Confirm asset rights and keep a private record of any required attribution.

- Use suitable aspect ratios and intentional crops without distorting images.
- Provide responsive image sizes and efficient formats appropriate to the project.
- Reserve image dimensions to avoid page movement as assets load.
- Load below-the-fold images lazily where useful; do not delay the main visible image unnecessarily.
- Write useful alternative text for meaningful images and empty alternatives for purely decorative images.
- Give icons a consistent style and accessible names when they are controls.
- Check missing-image behavior and avoid exposing local paths or private assets.

## 11. Component system and interaction states

Reuse appropriate components such as navigation, section headings, buttons, cards, service lists, project entries, notices and footers. Define shared spacing, typography, borders, corners and responsive behavior.

For each interactive component, cover the states it actually needs:

- Default, hover, keyboard focus, active and selected.
- Loading, disabled, success and failure.
- Empty results, missing content and long labels.

Use links for navigation and buttons for actions. Do not make an entire card clickable if it contains conflicting controls. Make icon-only buttons understandable to assistive technology. Keep primary and secondary action styles consistent across pages.

## 12. Navigation and wayfinding

Keep the navigation clear, compact and consistent. Use descriptive page names, a recognizable home link and visible current-page states. Preserve approved navigation when working on an existing site.

On mobile, choose a menu layout that accommodates real labels and optional descriptions. Prevent the sticky header from covering anchor targets or keyboard-focused elements.

Menus and dialogs must work with a keyboard, expose their expanded state, close predictably and restore focus to the control that opened them. Contain focus when a true modal is open, and avoid trapping focus in ordinary page sections. Keep essential navigation usable if optional enhancements fail.

## 13. Motion and micro-interactions

Use motion to explain feedback or a change in state. Favor restrained button transitions, link states and purposeful menu transitions. Do not animate every section or delay access to content for an entrance effect.

Define a small set of duration and easing tokens. Prefer animation properties that avoid unnecessary layout work. Provide a reduced-motion version of decorative effects, smooth scrolling and background animation. Keep reading and interaction comfortable even when animation is disabled.

Do not hijack scrolling or make hover effects the only way to discover information. Check touch, mouse and keyboard behavior independently.

## 14. Responsive behavior

Build layouts around content and available space. Test the working page, not only a mental model of it.

Check representative narrow phones, wider phones, tablets, laptops and large displays, including a narrow viewport around 320 pixels. Test intermediate widths where the content begins to break and add breakpoints there rather than targeting a long list of device names.

Review text wrapping, navigation, hero height, image crops, card layout, button width, spacing and section order. Test long headings, long links and larger browser text. Let tables and code blocks have deliberate local overflow where necessary without making the whole page scroll sideways.

There should be no unintended horizontal page scrolling, clipped controls, overlapping content or inaccessible fixed-width sections. Design mobile compositions deliberately instead of shrinking the desktop page.

## 15. Accessibility

Use semantic landmarks, a meaningful heading hierarchy, a skip link when useful, native controls and visible keyboard focus. Give every input an associated label and instructions that remain available after typing.

Check contrast, readable text, touch target size and spacing. Keep important information available without hover, color or animation. Test keyboard order, zoom, reduced motion and accessible names. Use ARIA only where native HTML does not already provide the required behavior.

For validation, connect errors to the relevant fields and explain how to correct them. Preserve entered values after a failed submission. Announce important async success or error messages without unexpectedly moving focus. Use automated checks as one input, alongside manual interaction and assistive-technology checks where available.

## 16. Performance

Start with a lightweight page and add dependencies only when they solve a real requirement. Avoid shipping a large library for a small visual effect.

Review images, font loading, CSS, JavaScript, third-party scripts, rendering and animation. Reserve space for media and dynamic components, remove unused assets and keep important content available early.

Agree performance expectations appropriate to the project, then measure key pages on a representative mobile connection and device profile. Record the actual test conditions and findings in the private project handoff. Fix the largest bottlenecks before polishing minor scores; do not claim real-user performance based only on a local test.

## 17. Search, sharing and route behavior

Give each public page a meaningful title, description, heading structure and canonical URL. Use descriptive internal links and visible, useful copy. Include appropriate sharing images and Open Graph information, with working absolute public URLs.

Add structured data only when it matches the visible business information. Avoid invented ratings, reviews or eligibility claims. Do not promise rankings or placement in AI-generated answers.

Check the sitemap, robots rules, redirects and real 404 responses. Keep retired URLs and canonical behavior consistent with the agreed route plan. Exclude private and unfinished content from public deployment; crawler directives are not access control. Preview a shared link and inspect the rendered HTML rather than relying only on source templates.

## 18. Code quality and integration behavior

Inspect the existing stack, package manager, routes, components, styles, assets and build system first. Reuse working conventions and keep the implementation maintainable. Do not migrate a static or PHP website to a new framework without a requirement that justifies it.

Use meaningful names and a clear file structure. Keep content and presentation maintainable without creating abstractions for every element. Remove unused code and broken links; resolve relevant build and console errors.

Connect only authorized integrations. Keep secrets out of client code and public files. Validate inputs at the server boundary, handle errors visibly and avoid fake success messages. For forms, define where submissions go, required fields, spam protection and privacy expectations. If a backend is out of scope, use a real alternative contact method and describe the limitation accurately.

Test duplicate submissions, unavailable services, empty responses and failure recovery for the flows the site actually supports. Payments and bookings must use the agreed provider and real confirmed destinations.

## 19. Real content and data handling

Use the client's approved name, offer, contact channels and supporting evidence. Do not fill missing proof with believable fiction. Keep prototype placeholders obvious and ensure they are removed before publication.

Collect only information needed for the stated purpose. Make external destinations and downloads clear. Use appropriate disclosure for referral relationships and required asset attribution. Add only the privacy or consent features the actual project needs, based on the services it uses and the client's requirements.

Keep internal notes, access credentials, machine paths, unpublished documents and private customer information out of public assets and downloadable files.

## 20. Visual quality control

Review the implementation with real content in a browser. Check the main page, secondary pages and the important conversion flow together so shared components stay consistent.

Look for weak hierarchy, uneven gutters, awkward wrapping, inconsistent card alignment, unnecessary decoration, crowded sections, empty sections and inaccessible contrast. Compare the result with the approved direction rather than treating novelty as the goal.

Refine the largest problems first. After each meaningful change, revisit the affected desktop and mobile layouts and interactions. Save review evidence where useful, and distinguish verified behavior from assumptions.

## 21. Self-critique

Ask:

- Can a new visitor understand the offer and next action quickly?
- Does the visual identity fit this business and its audience?
- Does every section answer a useful question?
- Are the typography, spacing and repeated components consistent?
- Is the proof credible and the copy specific?
- Can visitors complete the main task on mobile and with a keyboard?
- Have the requested brand details and existing working features been preserved?
- Are the remaining limitations clear to the client?

Fix shortcomings that affect these answers. A showcase effect is optional; usability, credibility and correct behavior are part of the deliverable.

## 22. Implementation and handoff

Work in small steps: inspect, propose, build, verify and refine. Keep a recoverable copy or version-control history before significant changes.

The handoff should explain:

- The chosen visual direction and where the design tokens live.
- The reusable components and how to update content safely.
- Required environment setup, build commands and hosting behavior.
- Important routes, integrations and deployment requirements.
- What was checked, what could not be checked and any known limitations.
- The exact files or deployment package needed to publish the approved result.

Show a working preview before a consequential deployment when the project requires review. Do not represent a local preview as an already-published website.

## 23. Completion checklist

- [ ] The offer, audience and primary action are clear.
- [ ] The agreed brand direction, content and scope are implemented.
- [ ] Tokens and shared components remain consistent across pages.
- [ ] Real copy, assets, URLs and contact destinations are verified.
- [ ] Required routes, redirects and the 404 page behave correctly.
- [ ] Navigation, links, buttons, downloads and primary flows work.
- [ ] Relevant loading, empty, success and error states are covered.
- [ ] Narrow, intermediate and wide layouts are usable without unintended page overflow.
- [ ] Keyboard navigation, focus, text resizing, contrast and reduced motion have been checked.
- [ ] Images, fonts and scripts have been reviewed for avoidable loading cost.
- [ ] Search and sharing information match the visible pages.
- [ ] Relevant project checks pass and remaining limitations are documented.
- [ ] Public files contain no secrets, internal notes or unfinished prototype content.
- [ ] The client can understand how to maintain and publish the result.

## 24. Final standard

Deliver a distinctive, coherent website that helps the right visitors understand the business and take the next step. It should remain readable, usable and maintainable when real content, smaller screens or failed requests challenge the ideal layout.

Copyright © Vipul Tiwari. https://vipultiwari.com/
