Skip to content

Item ​

Media + title + description + actions

One row of a list: something on the left (#media — an icon, an avatar, a cover), a title with an optional description and free content, and #actions on the right. Three surfaces: plain, outline, surface; size="sm" for dense lists.

Three kinds of row. Static (default) — content only. Link (href) — the whole row is an <a> (or your router's link), so #actions must stay non-interactive: an arrow, a badge, a date; a button inside a link is invalid and unreachable. Button (button) — the whole row is a <button>: the selectable-row pattern of an inbox or a picker, with Enter and Space for free; the Inbox block is this. Need real buttons on a static row? Put the link on the title with #title instead of href.

The date — title news row is ListItem inside a BlessList; a box with media above is Card.

Basic
▶第1話 — 冴えないヒロインの育てかた24:00 · 2019.04.04
📀Blu-ray BOXPre-order open→

Usage ​

ts
import { BlessItem } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
titlestring—
descriptionstring—
hrefstring—renders <a> when set — then keep #actions non-interactive
buttonboolean—the whole row is a <button>: a selectable row (an inbox, a picker)
variant"surface" | "outline" | "plain""plain"
size"md" | "sm""md"

Slots

NameScopeDescription
media—
title—
description—
default—
actions—

Released under the MIT License. Character names and artwork belong to their owners.