Spacer

A component that adds space between elements.

Spacer is deprecated. It is to be replaced with html elements and Tailwind classes. Equal styles can be achieved using margin, padding or gap on relevant elements.

Space
Between us
But not here

Examples

Horizontal spacer using axis

Space
Between us
But not here

API Reference

PropDefaultDescription
size-ResponsiveProp<"0x" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "8x" | "10x" | "12x" | "14x" | "16x" | "20x" | "24x">
axis?-"x" | "y"