docs/components/layout/Spacer

Spacer

Flexible space filler for flex and grid layouts.

import { Spacer } from '@ybouhjira/hyperkit';

#Playground

Edit the code — the preview recompiles and re-renders as you type.

Live playground
Loading preview…

#Props

PropTypeDefaultDescription
sizeSpaceToken | string | numberFixed size. If omitted, uses flex:1 to fill available space.
axis'horizontal' | 'vertical''horizontal'Which dimension to space.