sigilUI

Bento Section

Arrange related content in a responsive grid of varied cells.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<BentoSection
    label="Platform"
    title="Everything in one place"
    cells={[
      { title: "Analytics", description: "Real-time insights",   span: "2x1" },
      { title: "Security",  description: "Enterprise-grade",     span: "1x1" },
      { title: "API",       description: "REST and GraphQL",     span: "1x1" },
      { title: "Dashboard", description: "Custom views",         span: "2x1" },
    ]}
  />

Props

PropTypeDefaultDescription
labelstring—Readable label for the component.
titleReactNode—Heading displayed in the component.
descriptionstring—Supporting text below the heading.
cells (required)BentoCell[]—Cells configuration.

Token integration

CSS VariablePurpose
--s-section-pySection py
--s-content-maxContent max
--s-page-marginPage margin
--s-radius-cardRadius card
--s-border-mutedBorder muted
--s-surfaceSurface
--s-duration-fastDuration fast
--s-borderBorder
--s-textText
--s-text-mutedText muted