sigilUI

Main

Mark and arrange the primary content of a page.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { Main } from "@sigil-ui/components";

Usage

<Main className="w-full"><h3>Project overview</h3><p>Your main content stays aligned with the page.</p></Main>

Props

PropTypeDefaultDescription
maxWidthstring—Max Width configuration.
centerboolean—Center configuration.

Token integration

CSS VariablePurpose
--s-content-maxContent max
--s-page-marginPage margin