Skip to content

<CenteredLayout>

All components honor --rs-bg, --rs-fg, and other theme variables.

NameTypeDefaultDescription
childrenReactNode—Centered content.
gap?string'1rem'Gap between children.
padding?string'4rem'Outer padding.
className?string—Class name.
style?CSSProperties—Inline styles.