Features 1: bento grid
Bento feature grid of spotlight cards in two sizes, with an animated stat and keyboard-shortcut hints mixed in for texture.
// Ballmac UI: Features 1. https://ui.ballmac.com/blocks/features-1
import * as React from "react"
import { GitBranch, Lock, Radar, Zap } from "lucide-react"
import { Kbd, KbdGroup } from "@/components/ballmac/kbd"
import { NumberTicker } from "@/components/ballmac/number-ticker"
import { SpotlightCard } from "@/components/ballmac/spotlight-card"
import { cn } from "@/lib/utils"
type Features1Props = Omit<React.ComponentProps<"section">, "title"> & {
/** Mono label above the heading. */
eyebrow?: string
/** Section heading. */
title?: string
/** One sentence under the heading. */
description?: string
}
function Features1({
eyebrow = "Features",
title = "Everything a release needs, in one place.",
description = "From the first commit to the rollback you never had to use.",
className,
...props
}: Features1Props) {
return (
<section data-slot="features-1" className={cn("mx-auto max-w-6xl px-4 py-20 sm:px-6 md:py-28", className)} {...props}>
<div className="max-w-2xl">
<p className="font-mono text-xs tracking-[0.16em] text-muted-foreground uppercase">{eyebrow}</p>
<h2 className="mt-4 text-3xl font-semibold tracking-[-0.035em] text-balance sm:text-4xl">{title}</h2>
<p className="mt-4 text-lg text-muted-foreground">{description}</p>
</div>
<div className="mt-12 grid auto-rows-[minmax(200px,auto)] gap-4 md:grid-cols-3">
<SpotlightCard className="md:col-span-2">
<Cell icon={Zap} title="Previews on every push" body="A live URL for each branch, torn down when the branch merges.">
<div className="mt-6 flex items-end gap-3">
<span className="text-5xl font-semibold tracking-tight">
<NumberTicker value={42} />s
</span>
<span className="pb-2 text-sm text-muted-foreground">median build time</span>
</div>
</Cell>
</SpotlightCard>
<SpotlightCard>
<Cell icon={Lock} title="Secrets stay secret" body="Environment variables are encrypted at rest and never shown in logs." />
</SpotlightCard>
<SpotlightCard>
<Cell icon={Radar} title="Performance budgets" body="Fail a check when a change makes the page slower than you allow." />
</SpotlightCard>
<SpotlightCard className="md:col-span-2">
<Cell icon={GitBranch} title="Keyboard-first reviews" body="Jump between previews, comments and diffs without touching the mouse.">
<div className="mt-6 flex flex-wrap gap-4 text-sm text-muted-foreground">
<span className="flex items-center gap-2">
<KbdGroup>
<Kbd>⌘</Kbd>
<Kbd>K</Kbd>
</KbdGroup>
Search
</span>
<span className="flex items-center gap-2">
<Kbd>J</Kbd>/<Kbd>K</Kbd> Next and previous
</span>
<span className="flex items-center gap-2">
<Kbd>R</Kbd> Roll back
</span>
</div>
</Cell>
</SpotlightCard>
</div>
</section>
)
}
function Cell({ icon: Icon, title, body, children }: { icon: React.ComponentType<{ className?: string }>; title: string; body: string; children?: React.ReactNode }) {
return (
<div className="flex h-full flex-col p-6">
<span className="flex size-9 items-center justify-center rounded-lg border bg-background">
<Icon className="size-4" aria-hidden="true" />
</span>
<h3 className="mt-5 font-semibold tracking-tight">{title}</h3>
<p className="mt-1.5 text-sm leading-relaxed text-muted-foreground">{body}</p>
{children}
</div>
)
}
export { Features1, type Features1Props }Installation
$ pnpm dlx shadcn@latest add @ballmac/features-1Install the dependencies.
$ pnpm add lucide-reactAdd the Ballmac items it builds on.
$ pnpm dlx shadcn@latest add @ballmac/kbd @ballmac/number-ticker @ballmac/spotlight-cardCopy the source into your project.
components/ballmac/blocks/features-1/features-1.tsx// Ballmac UI: Features 1. https://ui.ballmac.com/blocks/features-1 import * as React from "react" import { GitBranch, Lock, Radar, Zap } from "lucide-react" import { Kbd, KbdGroup } from "@/components/ballmac/kbd" import { NumberTicker } from "@/components/ballmac/number-ticker" import { SpotlightCard } from "@/components/ballmac/spotlight-card" import { cn } from "@/lib/utils" type Features1Props = Omit<React.ComponentProps<"section">, "title"> & { /** Mono label above the heading. */ eyebrow?: string /** Section heading. */ title?: string /** One sentence under the heading. */ description?: string } function Features1({ eyebrow = "Features", title = "Everything a release needs, in one place.", description = "From the first commit to the rollback you never had to use.", className, ...props }: Features1Props) { return ( <section data-slot="features-1" className={cn("mx-auto max-w-6xl px-4 py-20 sm:px-6 md:py-28", className)} {...props}> <div className="max-w-2xl"> <p className="font-mono text-xs tracking-[0.16em] text-muted-foreground uppercase">{eyebrow}</p> <h2 className="mt-4 text-3xl font-semibold tracking-[-0.035em] text-balance sm:text-4xl">{title}</h2> <p className="mt-4 text-lg text-muted-foreground">{description}</p> </div> <div className="mt-12 grid auto-rows-[minmax(200px,auto)] gap-4 md:grid-cols-3"> <SpotlightCard className="md:col-span-2"> <Cell icon={Zap} title="Previews on every push" body="A live URL for each branch, torn down when the branch merges."> <div className="mt-6 flex items-end gap-3"> <span className="text-5xl font-semibold tracking-tight"> <NumberTicker value={42} />s </span> <span className="pb-2 text-sm text-muted-foreground">median build time</span> </div> </Cell> </SpotlightCard> <SpotlightCard> <Cell icon={Lock} title="Secrets stay secret" body="Environment variables are encrypted at rest and never shown in logs." /> </SpotlightCard> <SpotlightCard> <Cell icon={Radar} title="Performance budgets" body="Fail a check when a change makes the page slower than you allow." /> </SpotlightCard> <SpotlightCard className="md:col-span-2"> <Cell icon={GitBranch} title="Keyboard-first reviews" body="Jump between previews, comments and diffs without touching the mouse."> <div className="mt-6 flex flex-wrap gap-4 text-sm text-muted-foreground"> <span className="flex items-center gap-2"> <KbdGroup> <Kbd>⌘</Kbd> <Kbd>K</Kbd> </KbdGroup> Search </span> <span className="flex items-center gap-2"> <Kbd>J</Kbd>/<Kbd>K</Kbd> Next and previous </span> <span className="flex items-center gap-2"> <Kbd>R</Kbd> Roll back </span> </div> </Cell> </SpotlightCard> </div> </section> ) } function Cell({ icon: Icon, title, body, children }: { icon: React.ComponentType<{ className?: string }>; title: string; body: string; children?: React.ReactNode }) { return ( <div className="flex h-full flex-col p-6"> <span className="flex size-9 items-center justify-center rounded-lg border bg-background"> <Icon className="size-4" aria-hidden="true" /> </span> <h3 className="mt-5 font-semibold tracking-tight">{title}</h3> <p className="mt-1.5 text-sm leading-relaxed text-muted-foreground">{body}</p> {children} </div> ) } export { Features1, type Features1Props }Update the import paths to match your project setup.
Usage
import { Features1 } from "@/components/ballmac/blocks/features-1/features-1"
export default function Features1Demo() {
return <Features1 />
}States
This block has no states. Static content: nothing to load, submit or fail.
Quality scorecard
Every applicable check passes
Measured in Chromium 153.0.8010.12 on October 19, 2026, on version 1.0.0, across 1 example.
Passed: Accessibility scan
No serious or critical issues in light and dark, on a phone and a desktop (axe-core 4.13.0, WCAG 2.1 AA and best-practice rules).
Passed: Small screens
No sideways scrolling at 360, 390 or 1280 px wide.
Passed: Reduced motion
No endless animation to begin with.
Passed: Right to left
Mirrors correctly in Arabic, Hebrew, Persian and Urdu layouts (4% of elements off the mirror, limit 15%).
Passed: Clean console
No console errors or React hydration errors while loading.
Not applicable: Keyboard
Static content: nothing to focus.
Not applicable: Loading, empty and error
Static content: nothing to load, submit or fail.
For information: Automated tests
No test file of its own yet.
For information: Footprint
1.4 KB of source (gzip) in 1 file. Installs lucide-react.
Automated checks find a subset of problems and do not replace testing with a screen reader and a keyboard in your own app. What they miss.
Dependencies
- npm
- lucide-react
Use with AI
A four-cell bento grid for a product's main features. Edit the cells directly; each is a SpotlightCard with an icon, title, body and optional extra content. With the shadcn MCP server set up (guide), ask your agent:
Add the Ballmac UI Features 1: bento grid (@ballmac/features-1) to this project with the shadcn MCP, then use it where it fits.
Use it for
- Showing 3–6 headline features with visual variety
- SaaS and developer product landing pages
Not for
- Long lists of features (use features-2)
Registry JSON: https://ui.ballmac.com/r/features-1.json
Free to use in personal and commercial projects.
More features blocks
Features 2: numbered icon grid
Six features in a hairline grid of numbered cells with an icon, title and one sentence each. Pass your own features array.
Features 3: integrations hub with beams
Integrations section: heading, description and checked benefits beside a hub diagram where animated beams flow between your product and six tools.
Features 4: Mac app bento
Bento feature grid for a desktop app: menu bar companion, keyboard shortcuts, privacy, iCloud sync and notifications, each with a small live visual.
Features 5: scrolling product tour
Numbered steps on the left; as each scrolls into view, a sticky panel on the right crossfades to its picture. On phones every step carries its own picture.
Ballmac UI Pro
Need the whole screen, not one piece?
311 premium blocks (dashboards, settings, calendars, mail, shops, onboarding), a private shadcn registry and Figma tokens. Blocks that show data come with loading, empty and error states built in.
Not ready? Try three Pro blocks free
Leave your email and the blocks appear right here, ready to copy. Yours to use in any project.