Add flexible spacing between elements
Spacer
component allows you to add customizable vertical or horizontal space between elements in your document.
Spacer
component to create gaps between content. You can specify either height
or width
.
true
for 100%.true
for 100%.Spacer
component serves a similar purpose to LaTeX’s vertical and horizontal spacing commands:
Spacer
with height
is similar to LaTeX’s \vspace{}
Spacer
with width
is similar to LaTeX’s \hspace{}
Spacer
offers more flexibility:
Spacer
can use any CSS unit.Spacer
can adapt to different screen sizes more easily.Spacer
uses a single component for both vertical and horizontal spacing.