A flexible bento grid layout system for showcasing content in visually appealing card arrangements. Features configurable columns, row heights, gaps, and span support.
npm install @thomarket/bento-gridimport { BentoGrid, BentoCard } from '@thomarket/bento-grid';
function App() {
return (
<BentoGrid columns={4} rowHeight={140} gap={16}>
<BentoCard label="Large Card" colSpan={2} rowSpan={2}>
<YourComponent />
</BentoCard>
<BentoCard label="Small Card">
<AnotherComponent />
</BentoCard>
<BentoCard href="/link" label="Linked Card">
<LinkedContent />
</BentoCard>
</BentoGrid>
);
}