Documentation Index
Fetch the complete documentation index at: https://skelementorcss.com/llms.txt
Use this file to discover all available pages before exploring further.


Overview
Skelementor bundles one spacing scale for margin (outside the box), padding (inside the box), and gap (between flex items). Pick the same numeric suffix across utilities to keep rhythm predictable.| Family | Value scale |
|---|---|
margin-* | 0, px, 1, 2, 3, 4, 6, 8, 12, auto |
padding-* | 0, px, 1, 2, 3, 4, 6, 8, 12 |
gap-* | 0, px, 1, 2, 3, 4, 6, 8, 12, plus gap-only 10, 14, 16, 18, 20, 22, 24 |
margin-*: margin, margin-horizontal, margin-vertical, margin-top, margin-bottom, margin-left, margin-right (for example margin-horizontal-4). padding-*: padding, padding-horizontal, padding-vertical, padding-top, padding-bottom (for example padding-horizontal-6). gap-*: gap, gap-x, or gap-y (for example gap-4, gap-x-8). Margin auto works on all margin families, including margin-top-auto and margin-bottom-auto.Margin
External spacing with positive, auto, and axis helpers
Padding
Internal spacing with all-side and directional helpers
Common Spacing Patterns
Use the spacing families consistently in cards, forms, and sections so outer spacing, inner padding, and content rhythm all come from the same bundled scale.Best Practices
Use the 4px Scale
Always use the predefined spacing scale (px, 1, 2, 3, 4, 6, 8, 12) for consistency. This ensures predictable layouts and easier maintenance.
Spacing Hierarchy
- Micro spacing (1-2): Fine adjustments, icon spacing
- Small spacing (3-4): Element internal spacing, form fields
- Medium spacing (6): Section internal spacing, card padding
- Large spacing (8-12): Section spacing, major layout divisions
Related Utilities
Layout
Flexbox and display utilities for layout
Sizing
Width and height utilities for spacing

