# Get component styles from a live website

[Open the live Fudge conversation](https://design.withfudge.com/share/get-the-component-styles-from-a-live-website)

Last updated: 2026-08-25

The practical way to get component styles from a live website is to capture the pages you need, inspect repeated elements, and record the results as reusable tokens and component notes. Start with a small set of representative screens instead of trying to document every page at once.

## Start with the pages that reveal the system

Choose three to five pages that expose different parts of the interface: a landing page, a content-heavy page, a settings or account screen, and any page with forms, tables, dialogs, or navigation. Include both desktop and mobile views when responsive behavior matters. A single homepage can show the visual direction, but it rarely reveals enough states to describe the full component set.

For each page, save the URL, viewport size, and visible state. Note whether the page is signed in, expanded, scrolled, loading, or showing an error. These details affect what styles appear. Open the examples below and compare the first screen before borrowing a pattern. The two Linear references show why repeated typography, surfaces, dividers, and controls are more useful evidence than one isolated button.

A useful capture checklist is:

- Header, navigation, and menu states
- Buttons in primary, secondary, quiet, and disabled states
- Text fields, selects, checkboxes, and validation messages
- Cards, tables, tabs, banners, dialogs, and tooltips
- Empty, loading, success, warning, and error states
- Hover, focus, active, and pressed treatments when available

## Captured pages

[![The system for product development](https://pin.fontofweb.com/6434?format=jpg)](https://design.withfudge.com/share/pin-6434)

[The system for product development](https://design.withfudge.com/share/pin-6434)

[![Plan and build products](https://pin.fontofweb.com/6435?format=jpg)](https://design.withfudge.com/share/pin-6435)

[Plan and build products](https://design.withfudge.com/share/pin-6435)

## Linear typography

- **Inter** — weight 400 · Body copy, labels, navigation, and controls.
- **Inter** — weight 500 · Headings and emphasized interface text.

## Turn observations into reusable component styles

Record each component in the same format: purpose, size, spacing, type style, surface, border, radius, shadow, state changes, and responsive behavior. This prevents a visual inventory from becoming a collection of screenshots with no implementation value. Separate shared tokens from one-off details. For example, a repeated muted border belongs in the shared color and border notes, while a decorative illustration may belong only to one page.

Typography should be documented as a family and a role, not only as a screenshot measurement. Record the font family, available variants, approximate sizes, weights, line heights, and letter spacing for headings, body copy, labels, navigation, and controls. In the examples below, Inter appears across the captured Linear references, with weight helping distinguish body text from headings and emphasized interface text. That is a useful model for describing hierarchy without assuming every text element has a different font.

Colors also need roles. Use names such as page background, raised surface, primary text, muted text, divider, accent, success, warning, and danger. Then add observed values, contrast notes, and where each role appears. Do the same for spacing, radii, shadows, gradients, and motion. The goal is not to claim ownership of the site's internal design system. It is to create a careful record of what is visibly used so another designer or developer can compare, adapt, or rebuild it.

## Check the result before using it in a rebuild

Review the inventory against every captured page. A component description is strong when it explains both its default appearance and its meaningful changes across states and screen sizes. If a button looks different in a dialog, navigation bar, and form, decide whether that is one component with variants or several separate components. Keep the decision explicit and link each observation to the page where it appeared.

Next, test the system for consistency. Look for near-duplicate grays, several radii that may actually be one token, mismatched control heights, and typography that changes without a clear role. Do not smooth away every difference automatically. Some differences are intentional, especially between marketing pages and product screens. Mark uncertain findings as observations to verify rather than turning guesses into rules.

When the notes are stable, organize them into a practical handoff: tokens first, then components, then page-specific patterns. A Tailwind v4, CSS, JSON, or DESIGN.md version can be useful for implementation, but keep the source notes alongside it. Generated values are a starting point for comparison, not proof of the site's private standards. If you need more coverage, add another capture through the browser extension and repeat the same checklist.

## Use this in your AI agent

> Inspect the captured website references for component styles. Build a structured inventory of repeated components, typography roles, color roles, spacing, borders, radii, shadows, responsive changes, and visible interaction states. Separate shared patterns from page-specific details, cite the captured page or reference for each observation, flag anything uncertain, and finish with a concise implementation handoff organized as tokens, components, and exceptions. Do not invent hidden design-system rules that are not visible in the captures.

[Install Fudge for your AI agent](/mcp).

---

Use a four-part handoff: foundations, components, patterns, and evidence. Foundations should contain typography roles, colors, spacing, borders, radii, shadows, and motion. Give each item a practical name, an observed value, where it appears, and a confidence note. For example, describe a muted text color by its role and usage rather than assigning it a brand name you cannot verify.

Components should follow a consistent template: anatomy, sizes, variants, states, content rules, responsive behavior, and open questions. Patterns then combine components into recurring structures such as a page header, form section, card grid, or settings panel. Keep one-off decorations in an exceptions section so they do not become accidental shared rules.

Attach evidence to every important decision. Link the page or saved reference, include the viewport and state, and note whether the observation appears once or repeatedly. This makes the handoff easier to review and prevents a developer from treating an approximate measurement as an official value. Open the captured examples below when checking whether a proposed typography or surface pattern is repeated across more than one page.

Description: A repeatable handoff structure keeps observed values, reusable components, page patterns, and unresolved questions easy to review.

> Copyable prompt: Organize these captured website observations into foundations, components, patterns, and evidence. Flag estimates and link each finding to its source. Continue in [Fudge for your AI agent](/mcp).

---

First, check scope. Confirm that you are documenting visible styles for comparison or reconstruction, not claiming access to the site's private source files or official internal design rules. Keep notes tied to captured pages and label estimates clearly.

Then check coverage. Review default, hover, focus, disabled, loading, error, and selected states where they are visible. Compare desktop and mobile captures for changes in layout, spacing, control size, text wrapping, and navigation. A component that looks complete in one screenshot may have important states elsewhere.

Finally, check consistency before implementation. Compare colors for contrast, verify that text remains readable on every surface, and look for repeated values across unrelated components. Check whether apparent differences come from context, such as a dark surface or compact control, rather than from a new token. Keep a short list of unresolved questions and revisit them with another capture instead of filling gaps with assumptions. This produces a handoff that is useful immediately while remaining honest about what the live pages actually show.

Description: A final review catches missing states, responsive differences, contrast problems, and assumptions before observed styles become implementation rules.

> Copyable prompt: Review this component-style inventory for missing states, responsive differences, contrast risks, repeated values, and unsupported assumptions. Continue in [Fudge for your AI agent](/mcp).

## Related questions

- [Get design tokens from a live website](/share/get-the-design-tokens-from-a-live-website)
- [Get Gradient Styles From a Live Website](/share/get-the-gradient-styles-from-a-live-website)
- [Get the Color System from a Live Website](/share/get-the-color-system-from-a-live-website)
- [Get Interaction Patterns from a Live Website](/share/get-the-interaction-patterns-from-a-live-website)
