Skip to content
VenusUI
Get started

Bento Features

Four features in a bento grid of different tile sizes, with a moving border on the main tile.

Preview

Installation

npx shadcn@latest add @venusui/features-02

Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.

Files added to your project

Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.

  • @/components/ui/border-beam.tsxfrom border-beam
  • @/components/features-02.tsx

Usage

The code behind the preview above.

features-02-demo.tsx

import { Features02 } from "@/components/features-02"

export default function Features02Demo() {
  return <Features02 />
}

API reference

No props. Tiles are written out in the file so each can have its own layout.

Requirements

  • VenusUI border-beam (the CLI installs it with its CSS), lucide-react, React 19 and Tailwind CSS v4.

Customization

  • Tile sizes come from md:col-span-* and md:row-span-*. Change them to rearrange the bento.
  • Replace the grey placeholder shapes with screenshots or charts.
  • Remove <BorderBeam /> if the motion feels like too much.

Accessibility

  • Each tile is an article with an h3. Placeholder visuals are aria-hidden.
  • The moving border is hidden when the user prefers reduced motion.

Troubleshooting

Tiles are all the same size on tablets.
The bento layout starts at the md breakpoint (768px); below that tiles stack.
Unknown registry "@venusui"
Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.
No components.json found
Run npx shadcn@latest init in your project first.