Export code
Export a section of a live page as Tailwind, HTML, React, Vue or an Elementor template. Check it on a phone, a tablet and a desktop before you copy or download it.
Where to click
div.card240 × 168
24 px
div.cardSpace to pin
Box Model
width240pxheight168pxpadding24px
Text
font-familyInterfont-size16px
Accessibility
contrastAa15.8AAA
CSS variables Copy for Figma
.card-icon36 × 36
div.cards760 × 168
Design ToolkitCSS Inspector & Website to Figma★★★★★
Add to Chrome
Add “Design Toolkit”?It can read and change site data when you click it.CancelAdd extension
Design Toolkit has been added to Chrome
#E8883ACopied!
Animation copied for AIPaste it into ChatGPT, Claude or Cursor
div.card240 × 168
ElementPage
Export codeReading…98% matchPreview
Box ModelTypographyAnimations
TailwindHTMLReactVueElementor
Copy TailwindCopy React
See code
Animations (1)ReplayRescan
Copy for AI
CSS animations (1)
floatCSS Animationon .card-icon
duration2sdelay0seasingease-in-outiterationsinfinitedirectionalternate
0% { transform: translateY(0) }100% { transform: translateY(-6px) }
Transitions (1)
background-colorTransitionduration0.2seasingease
PaletteCSS variables
TypographyInter · 2 fonts
AssetsDownload All
DesktopEntire pageSelect element
CopiedPaste in Figma with Ctrl + V
Layers
card · Auto layout
Phone390 × 844
Tablet768 × 1024
Desktop1280 × 800
3 screens capturedDownload allCopy for Figma
Steps
- Turn the inspector on with Alt+I and click the section you want.
- Press O. The Export code card is at the top of the Element tab.
- Choose a format: Tailwind, HTML, React, Vue or Elementor.
- Look at the live copy in the card, and try it at Fit, Phone (390 × 844), Tablet (820 × 1180) and Desktop (1440 × 900). Open it full size to look closer.
- Copy the code, or download it as a file.
The Export code card
| Part | What it does |
|---|---|
| Match | Shows Reading… while the copy is built, then the match score. Click it to see what still differs, or a note that every element sits where the page draws it. |
| Preview | Opens the copy full size, where you can switch between phone, tablet and desktop. |
| Live copy | The exported code, running, inside the card. If the pointer is over the section, the card asks you to move it away so the section is read at rest and its hover state is not mistaken for its normal look. |
| Format tiles | Tailwind, HTML, React, Vue and Elementor. The card remembers your choice. |
| Copy and Download | Named after the format, for example Copy React, and a download button for the file. |
| See code | Shows the code before you copy it: This element (its own CSS) or This section (the whole export), as Computed, Source, Tailwind or React. |
Formats and files
| Format | Download | Best for |
|---|---|---|
| Tailwind | .html | Tailwind projects and AI coding tools |
| HTML | .html | Plain HTML and CSS |
| React | .jsx | React and Next.js components |
| Vue | .vue | Vue single-file components |
| Elementor | .json | Importing into Elementor in WordPress |
Elementor: in WordPress, open Templates → Saved Templates → Import and pick the .json file. It works with the free version of Elementor.
What the export keeps
- Breakpoints. Media queries become Tailwind variants such as
md:andlg:, or exact ranges when the site uses other widths. - States. Hover, focus and active styles are kept, including a hover on a parent that changes a child (
group-hover). - Exact values. Sizes and colors without a Tailwind name are kept as arbitrary values, such as
p-[22px]. - Fonts and animations. Web fonts and keyframes are included as a short CSS block.
The match score
The exported copy is drawn beside the page and measured element by element. The score in the card is that measurement, not an estimate. A high score means the code will look like the original when you paste it.
When a site keeps its CSS on another server
Some sites load their stylesheets from another server, which a page is not allowed to read. The card then shows Allow reading. Click it and your browser asks you to allow that one server. The extension then downloads those stylesheets without cookies and reads the breakpoints, hover states and fonts on your device.
Related
Last updated · Something wrong or missing? Tell us.