Skip to content
synccn

Bento Grid

Asymmetric feature grid with hover reveals.

report.pdfbrief.docxroadmap.mdbudget.xlsxnotes.txt

Save your files

Every draft is saved as you type and synced across devices.

Learn more

Notifications

Get told about what matters, when it matters.

Set up

Multilingual

Ship in 40 languages from day one.

See languages

Calendar

Schedule work around your team's real availability.

Open calendar

Search everything

Find any file, message or task in milliseconds.

Try it

Installation

$ pnpm dlx shadcn@latest add @synccn/bento-grid

First time in this project? Connect synccn with one command.

Usage

import { BentoGrid, BentoCard } from "@/components/ui/bento-grid";<BentoGrid>  <BentoCard className="md:col-span-2" title="…" /></BentoGrid>

API reference

Generated from the component's TypeScript types, so it always matches the code.

BentoGrid

Asymmetric feature grid. Give cards className="md:col-span-2" or "md:row-span-2" to vary sizes.

  • className
    string

    Extra classes for the root element.

  • children
    React.ReactNode

    Content to render.

BentoCard

  • icon
    React.ElementType

    Icon above the title.

  • titlerequired
    React.ReactNode

    Card heading.

  • description
    React.ReactNode

    Supporting text.

  • cta
    React.ReactNode

    Link text revealed on hover.

  • background
    React.ReactNode

    Decorative layer behind the content.

  • className
    string

    Extra classes for the root element.

Dependencies

Read from the component's imports when the site builds. The CLI installs all of these for you.

Helpers

npm packages

Accessibility

From the source

Read from this component's code when the site builds, so it can't drift.

No ARIA roles, key handling or motion settings in its source. It renders plain elements, so its accessibility comes from the content and labels you give it.