Full-width sections with optional inner containers for flexible content layouts
<Section withContainer containerSize="2xl" containerPadding>
{children}
</Section><Section bleed withContainer className="bg-blue-50">
{children}
</Section><Section withContainer={false}>
{children}
</Section>The section background extends to the full viewport width, but the content is still contained within a container for readability. This is perfect for creating visual separation between content blocks.
Content is contained within the container while the background extends full width.
Content is contained within the container while the background extends full width.
Content is contained within the container while the background extends full width.
bleedboolean | "x" | "y"default: falseEnable full-width bleed (break out of container). Can be horizontal, vertical, or both.
withContainerbooleandefault: trueWrap content in Container component
containerSizeContainerSizedefault: "xl"Container size (when withContainer=true)
containerPaddingbooleandefault: trueEnable container padding (when withContainer=true)
Use the bleed prop to create full-width backgrounds with gradients, images, or solid colors while keeping your content contained and readable.
Use bleed with a background image or gradient for impactful hero sections.
Alternate between full-bleed and regular sections to create visual rhythm and hierarchy.
Use colored backgrounds with bleed to draw attention to CTAs and important messaging.
Keep feature content contained while using backgrounds to create visual separation.