Skip to content

website to Figma components

Website to Figma Components, With Hover Variants

Website to Figma components, automatically: repeated cards, buttons and menu items become instances, and hover looks become Default/Hover variants.

  • Repeated structures become one main component plus instances
  • Text, image and visibility overrides kept on every instance
  • Hover looks become a component set with Default and Hover variants
  • Main components collected in a "Components · <site>" frame

EUREKA! · · 5 min read

Website to Figma Components, With Hover Variants

Going from a website to Figma components is where most imports stop short: a page with twelve product cards arrives as twelve unrelated groups of layers, so changing the corner radius means changing it twelve times. HTML to Frames recognises that those cards are one design repeated and builds them that way: one main component, twelve instances.

With Components & hover states turned on, HTML to Frames finds repeated structures such as cards, buttons and menu items and turns them into components and instances, keeping each copy's own text and images. Elements that change on hover become a component set with Default and Hover variants, already wired for prototyping.

What Components & hover states does

  • Repeated structures become components. Any group of frames that share the same structure (cards in a grid, buttons, nav items, list rows) becomes one main component, and every occurrence on the page becomes an instance of it.
  • Overrides are kept. Each instance keeps its own text (with its styling), its own images and its own visibility, so twelve cards still show twelve different products. Links stay on each instance too.
  • Hover looks become variants. When an element looks different on hover, the component becomes a component set with a State property: Default and Hover.
  • Prototype interaction included. The Default variant gets an On hover → Change to Hover interaction, so hover works in Present mode right away.
  • Main components in one place. They're collected in a frame called Components · <site>, next to the imported screens.
Repeated cards become instances; hover becomes a variant

How it works

Components are built after Auto Layout, so they're made from the finished, responsive frames.

  1. Fingerprint every frame. Each frame gets a structural fingerprint: layer types, size (unless the frame hugs its content), fills, strokes, corner radius, effects, Auto Layout settings, vector shapes and the arrangement of its children. Text content and image content are not part of the fingerprint, which is why cards with different titles and photos still match.
  2. Group matches. Frames with the same fingerprint that appear at least twice form a group. A single element with a hover look also qualifies, so a one-off call-to-action button can still get its variants.
  3. Prioritise. Groups with a hover state go first, then the largest repeated structures. Up to 60 components are made per page, and a structure already inside a chosen component isn't turned into a separate one.
  4. Create the main component. The first occurrence becomes the main component and moves to the Components · <site> frame.
  5. Place instances and verify. Every occurrence is replaced by an instance with its overrides copied over. The instance has to land at the same position and size as the layer it replaces, within 1 px. If it doesn't, the original layer stays. As with Auto Layout, the page never breaks to make a component.

Where the hover state comes from

During capture, links and buttons on the page (a[href], button, role="button", submit buttons and summary; plain links inside running text are skipped) are forced into their CSS :hover state and read again, up to 60 elements per page. Every element whose look changes gets a hover snapshot, which becomes the Hover variant.

The results screen reports the outcome: "… components with … instances, … with a hover variant — main components are in the 'Components' frame."

Why it's different

Hover components aren't unique to HTML to Frames. In the public docs we reviewed (October 2026), html.to.design describes creating component variants from hover states, and includes it on its Free plan.

The difference is what triggers a component. Hover-based components only cover interactive elements. HTML to Frames also detects repeated structures that have no hover state at all: product cards, testimonial blocks, feature tiles, footer columns, table rows. In those public docs we didn't find a description of components created from repetition alone. For a design-system team, that's most of the work: the repeated card is the component you'd build first.

Hover-based componentsHTML to Frames
Buttons and links with a hover lookComponent with variantsComponent set, Default and Hover
Repeated cards and tiles without hoverNot described in the docs we reviewedMain component plus instances
Text and images per copyNot described in the docs we reviewedKept as instance overrides

How to use it

  1. Open HTML to Frames and add a source: Link, Multiple, Local file or Browser.
  2. Under Options, make sure Components & hover states is on. It's on by default on Pro and Team.
  3. Keep Auto Layout on for the best results; components are built from the Auto Layout frames.
  4. Press Import.
  5. Find the Components · <site> frame next to your screens, then press Present and hover a button to see the variant switch.
Repeated cards and buttons imported as components with hover variants
Repeated cards and buttons as components with hover variants

Components & hover states is a Pro and Team feature. Pro is $7/month at launch and is bought inside Figma.

When it helps most

  • Design-system teams reverse-engineering a live product: the components frame is a first draft of the component inventory.
  • Agencies preparing a redesign: restyle one card component and the whole grid follows, which makes before/after proposals quick.
  • Prototypers who need realistic hover behaviour without wiring every button by hand.
  • Designers auditing consistency. Many near-identical components where you expected one usually means the site's cards drifted apart in code.

Good to know

  • Matching is strict. Two cards only become instances of one component if their structure matches; a card with an extra badge has a different fingerprint and is treated separately.
  • Hover is captured at widths of 1024 px and up, so Desktop and Laptop screens get hover variants. Tablet and Mobile screens still get components from repeated structures.
  • Only CSS :hover is captured. Menus that open through JavaScript on mouse enter don't produce a Hover variant.
  • Chrome extension captures don't include hover states. Components from repeated structures are still created.
  • Two states only: Default and Hover. Focus, active and disabled states aren't captured.
  • Up to 60 components per page. Components & hover states is a Pro and Team feature.

Get the plugin and import a page with a product grid: the components frame shows you the system behind it.

Frequently asked questions

Can a website be imported into Figma as components?
Yes. With Components & hover states on, HTML to Frames turns repeated structures such as cards, buttons and menu items into a main component with instances. Each instance keeps its own text and images as overrides, and the main components are collected in a Components frame next to the screens.
How does it decide which elements are the same component?
Each frame gets a structural fingerprint covering its layer types, size, fills, strokes, radius, effects, Auto Layout settings and the arrangement of its children. Text and image content are left out, so cards with different content still match. Frames with the same fingerprint that appear at least twice become one component.
Are hover states imported?
Yes, for CSS hover states on links and buttons at widths of 1024 px and above. Elements whose look changes on hover become a component set with Default and Hover variants, plus an On hover interaction for Present mode. Hover menus that open through JavaScript are not captured.
What if an instance doesn't match the original layer?
Every instance is checked against the layer it replaces and must land at the same position and size within 1 px. If it doesn't, the original layer stays where it was. The page keeps its look even when a component can't be placed.
Which plan includes Components & hover states?
Components & hover states is included in Pro and Team. Pro is $7 per month at launch and is bought inside Figma. On the Free plan the option is shown with a PRO badge.

Stop redrawing the web.

Paste a link and get real, editable, responsive Figma layers in seconds. Free to start — 10 imports every month.

Stop redrawing the web.

Paste a link and get real, editable, responsive Figma layers in seconds. Free to start — 10 imports every month.

No credit card. Pro is bought inside Figma.

Coming soon to Figma Community