space Vertical
Type: Function
How to get spaceVertical?
JavaScript
import { spaceVertical } from 'fds/system';
A styling mixin used for setting a vertical spacing between the child elements.
Arguments
space
Size (Required)
Type: Number | String
The amount of vertical space (or margin) between the children of the component.
This should be one of the following values:
-
0 (zero, no margin at all)
-
's' (small)
-
'm' (medium)
-
'l' (large)
-
Returns
Type: String
A style rule resulting in a generated class name on the element.
Generally created using fds/system/applyCss and/or any styling utility provided by FDS.