Spacer

Provide empty space.

import { Spacer } from '@nextui-org/react';

Vertical

Horizontal

APIs

Spacer Props

AttributeTypeAccepted valuesDescriptionDefault
xnumber / float-x-axis spacing1
ynumber / float-y-axis spacing1
inlineboolean-inline spacefalse
...HTMLAttributes'id', 'className', ...native props-