Spacer

Spacer is a component used to add space between components.


Installation

The above command is for individual installation only. You may skip this step if @nextui-org/react is already installed globally.

Import

Usage

Note: The x and y values are based on Tailwind Spacing Scale

API

Spacer Props

PropTypeDefault
x
Space
"1"
y
Space
"1"

Types