The Bento Grid system is composed of a main container, LandingBentoGridSection, and several specialized child items designed for specific content types. The container manages the grid layout, columns, and rows, while the child items provide pre-designed layouts for displaying icons, metrics, or images. You can mix and match these specialized items or use generic children to create complex, visually appealing feature grids for landing pages.
import {
LandingBentoGridSection,
LandingBentoGridIconItem,
LandingBentoGridNumberItem,
LandingBentoGridImageItem,
} from '@/components/landing/bento-grid';
<LandingBentoGridSection title="Title" description="Description">
<LandingBentoGridIconItem icon={<Icon />} bottomText="Text" />
<LandingBentoGridNumberItem number="10%" bottomText="Metric" />
<LandingBentoGridImageItem imageSrc="/path.webp" bottomText="Caption" />
</LandingBentoGridSection>