Skip to main content
Every editor component exposes an Advanced section with a className (or classNames) field. This field accepts any valid Bootstrap 5 utility class, giving you fine-grained control over appearance without custom CSS.

Spacing utilities

The most commonly used utilities control margin and padding.

Syntax

Examples

Text utilities

Background colours

Borders

Display and visibility

Responsive visibility pattern

Combine d-none with a breakpoint display class to show content only at certain screen sizes:

Flexbox utilities

Sizing

Shadows

Combining classes

The className field accepts multiple classes separated by spaces. Combine them freely:
This gives a 1.5 rem top margin, 0.5 rem bottom margin, centred text, light background, rounded corners, a small shadow, and 1.5 rem padding.
Responsive prefixes work on most utilities. For example, text-center text-md-start centres text on mobile but left-aligns it from medium breakpoint up.