Bento Mosaic

Bento mosaic pricing grid with expandable cards.

Main Features of Bento Mosaic

How to Use Bento Mosaic in Next.js

Installation Guide for Bento Mosaic

Props

Customize the component with these props

PropertyTypeDefaultDescription
title
stringModular PricingSection title text.
titleColor
string#f4f4f5Title text color.
backgroundColor
string#18181bBackground color (hex, rgb, or hsl).
freePlan
{name: string, price: number, description?: string, tags?: string[]}{}Free plan object with name, price, description, and optional tags.
proPlan
{name: string, price: number, description?: string, badge?: string, features?: string[]}{}Pro plan object with name, price, description, badge, and optional features.
enterprisePlan
{name: string, price: number, description?: string}{}Enterprise plan object with name, price, and description.
featureCards
Array<{icon: LucideIcon, title: string, color: string}>[]Array of feature cards with icon, title, and color.
freeCardBgColor
stringrgba(39, 39, 42, 0.5)Free card background color.
freeCardBorderColor
string#27272aFree card border color.
freeCardTextColor
string#e4e4e7Free card text color.
freeCardSubtextColor
string#71717aFree card subtext color.
freeTagBgColor
string#27272aFree tag background color.
proCardGradientFrom
string#4f46e5Pro card gradient start color.
proCardGradientTo
string#7c3aedPro card gradient end color.
proCardBadgeBgColor
stringrgba(255,255,255,0.2)Pro card badge background color.
proCardBadgeTextColor
string#ffffffPro card badge text color.
proCardTextColor
string#ffffffPro card text color.
proCardPriceColor
string#ffffffPro card price color.
proCardFeatureColor
string#c7d2fePro card feature text color.
proButtonBgColor
string#ffffffPro button background color.
proButtonTextColor
string#4f46e5Pro button text color.
featureCardBgColor
stringrgba(39, 39, 42, 0.5)Feature card background color.
featureCardBorderColor
string#27272aFeature card border color.
featureCardTextColor
string#d4d4d8Feature card text color.
enterpriseCardBgColor
string#f4f4f5Enterprise card background color.
enterpriseCardTextColor
string#18181bEnterprise card text color.
enterpriseCardSubtextColor
string#52525bEnterprise card subtext color.
enterpriseIconBgColor
string#e4e4e7Enterprise icon background color.
enterpriseButtonBgColor
string#18181bEnterprise button background color.
enterpriseButtonTextColor
string#ffffffEnterprise button text color.
buttonText
stringGo ProButton text.
enterpriseButtonText
stringContact SalesEnterprise button text.

When to Use

Ideal for complex product suites, developer toolkits, and Next.js startups that want a modular, high-density aesthetic. Use this React component for a bento-style pricing grid with varying card sizes and clear visual hierarchy.

Best Practices

Maintain consistent spacing within your design system by aligning the grid gaps with your primary layout. Follow React best practices by using high-contrast active states for the 'Pro' tier. Optimize for performance by using efficient grid-column spans.

Why This Component Matters in Modern UI Development

Bento grids allow you to showcase both tiers and features in a unified, space-efficient layout. This production-ready component helpsคุณ build an interface that feels structured and modern, improving the user's ability to compare values.

Frequently Asked Questions

QHow does the layout work?

It uses a CSS Grid with custom spans (`col-span-12`, `md:col-span-8`, etc.) to create the characteristic mosaic pattern.

QIs the Pro tier highlighted?

Yes, the Pro tier uses a vibrant gradient background and a larger footprint to immediately draw the user's eye.

QCan I add more feature cards?

Absolutely, the `featureCards` array is designed to be easily extensible, allowing you to highlight various product benefits within the bento structure.

Bento Mosaic - React Pricing Table & Plan Card | Uilora