Bento Pricing Tiles
Pricing set as a bento grid: the recommended plan is the one 2x2 tile with the biggest price and the only accent, surrounded by plans, reassurances and a sales tile.
DOM + CSS0 deps1 file · 20 KB TSXreduced-motion aware
Props
"use client";
import { useEffect, useId, useRef, useState } from "react";
import type { CSSProperties, PointerEvent as ReactPointerEvent } from "react";
/**
* BentoPricingTiles — pricing set as a bento grid, where size is the
* recommendation.
*
* The plan you want people to buy is the one 2x2 tile: its price is the
* biggest figure on the section, it carries the only accent (its button and
* its flag) and its key features sit beside the price. The other plans are
* 1x2 tiles around it; the reassurances (trial length, setup fees,
* compliance) are 1x1 figures; a 2x1 tile hands enterprise buyers to sales.
* Nothing floats on a shadow and nothing lifts: depth is luminance and a
* one-pixel hairline, and a light that follows the pointer catches the
* hairlines near it.
*
// ---------------------------------------------------------------
// Full source available with a viberdy Pro subscription.
// https://viberdy.dev/pricing
// ---------------------------------------------------------------
}Details
About this section
Pricing pages usually line up three equal cards and add a badge to the one they want you to pick. A bento does not need the badge, because size is already the argument. Here the recommended plan is the one 2x2 tile: its price is the biggest figure on the section, it carries the only accent colour, and its key features sit beside the price. The other plans are taller 1x2 tiles around it, the reassurances buyers look for (trial length, setup fees, compliance, cancellation) are single figures, and a wide tile hands enterprise buyers to sales. Depth comes from luminance and a one-pixel hairline, never shadows, and a light that follows the pointer catches the hairlines near it. A hairline segmented control switches monthly and yearly billing, and each price slides in as it changes. Under the grid, Compare all features opens a hairline table of every feature by plan.
Curator’s note
Part of the Bento Box kit, drop 2, phase 5. Pro because it is a full section of composed parts with state: billing, sliding prices, a comparison table and a shared pointer light.


