Type: Function

How to get spaceVertical?


import { spaceVertical } from 'fds/system';

A styling mixin used for setting a vertical spacing between the child elements.


  1. spaceSize


    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)


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.