Comprehensive spacing specifications for web and mobile app design
Material Design uses an 8dp base grid system. All spacing should be multiples of 8dp for consistency.
Select a component to see its recommended spacing values and visual preview:
| Property | Mobile (dp) | Desktop (px) | Usage |
|---|
1. Set up your grid: Use 8px base grid with 24px gutters
2. Create spacing tokens: Set up 4, 8, 16, 24, 32, 48dp as style tokens
3. Use Auto Layout: Leverage Figma's Auto Layout with these spacing values
4. Component variants: Create mobile and desktop variants for each component
5. Consistency check: Use plugins like "Design Lint" to ensure spacing consistency