Dashboard Mode - CSS properties export
Dashboard Goal
Understand how to export CSS properties from Figma designs to use in web development.
Jump into concepts and practice - no test required
Understand how to export CSS properties from Figma designs to use in web development.
| Property | Value | Description |
|---|---|---|
| font-family | "Roboto", sans-serif | Font used for text |
| font-size | 16px | Size of the text |
| color | #333333 | Text color |
| background-color | #FFFFFF | Background color of the element |
| border-radius | 8px | Rounded corners radius |
| box-shadow | 0 2px 4px rgba(0,0,0,0.1) | Shadow effect around the element |
| padding | 12px 16px | Space inside the element around content |
Formulas/Expressions:
Total CSS Properties = COUNTROWS('CSS Properties Table') — counts all CSS properties exported.Color Properties = COUNTROWS(FILTER('CSS Properties Table', CONTAINSSTRING([Property], "color"))) — counts properties related to color.Size Properties = COUNTROWS(FILTER('CSS Properties Table', OR(CONTAINSSTRING([Property], "size"), CONTAINSSTRING([Property], "padding"), CONTAINSSTRING([Property], "radius")))) — counts size-related properties.+----------------------+-----------------------+ | KPI Card | Bar Chart | | (Total Properties) | (Property Types) | +----------------------+-----------------------+ | Data Table | | (CSS Properties Details) | +---------------------------------------------+
The dashboard includes a filter to select CSS property categories (e.g., colors, sizes, fonts). When a category is selected:
This helps users focus on specific CSS property groups exported from Figma.
Try this: Apply a filter to show only "color" properties.
Question: Which components update and what changes do you see?
color followed by a colon and the color value ending with a semicolon.color: #FF5733;. Others use invalid syntax or property names.font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 16px; line-height: 24px;
font-weight: 700; which means bold weight.font-size: 16px; meaning the text size is 16 pixels.background-color #00FF00;
background-color, which is required in CSS.background-color: #00FF00;.box-shadow. For text shadows, it uses text-shadow.box-shadow with offset and color values.