Skip to content

Spacing (margin & padding)

Use Bootstrap spacing utilities (margin/padding) to tune layout quickly and consistently.

Spacing utilities control layout rhythm and breathing room. Learn it once and you’ll reuse it on cards, buttons, layout containers, and more.

Spacing utilities are easiest to learn on a simple component like a card, because the padding/margins are immediately visible.

Start with the wider context in the Properties panel so the next control makes sense in the full workflow. In the next step, you will focus on Spacing: Margin & Padding and see how it fits into this area.

Use Spacing → Margin & Padding to apply Bootstrap spacing classes. This is responsive-aware: when you’re editing a specific device width, Wappler can store the correct breakpoint variant.

tip: This is the same concept as Bootstrap’s spacing utilities (m*, p*, mt-, px-, etc.), surfaced as a single control in Properties.

Spacing is a core utility group. Next, learn colors/backgrounds and display/flex.