Rebar UI

1.1

synthetic

Card

A surface for one thing.

Project cardsMedia, kicker, title, meta

Brand

Harbour rebrand

Identity, site and launch kit for the harbour trust.

MCJWPN
On track

Product

Tideline mobile

Offline tasks and a quiet inbox for the crew.

JWMC
Review

Research

Crew interviews

Twelve calls, one clear pattern.

PN
Late
Empty

No projects yet

Start with a template.

Loading
Long title

Quarterly crew wellbeing and rota review for the northern depots

Selected

Harbour rebrand

Slots
Depot signageDue 21 Nov

Wayfinding for the three northern depots.

Hub tile (orientation="tile")
Feature card (orientation="feature"): framed square cover, pill kicker, title, body
Feature card coverFrame="media": the border and radius belong to the image itself
Feature card coverFrame="clip": the frame clips, the image wrapper adds no radius, clip or fill
Promo card with slot rows (--rebar-card-promo-header-row: 2, --rebar-card-promo-body-row: 3)
Border width, surface and eyebrow type from properties (--rebar-card-border-width, --rebar-card-background, --rebar-eyebrow-*)
No border, warm surface

Body

Flat panel from the tone tokens (--rebar-card-tone-bg, --rebar-card-tone-border-width)

A plenary indulgence for the Rosary prayed in a church or family.

Panel from --rebar-card-* properties (26px radius, 20px padding)
Today's Mass readings

First Reading — Ephesians 1:15-23

In context

KPI rowThree numbers, one card each

Open tasks

42

↓ 6 this week

Due soon

7

3 today

Shipped

18

↑ 4 vs last month

Mobile additions

Card: tone, href, row, promoTint fills, a whole-card link, a compact row with a corner chip, the promo preset
Today’s readingsSaint Raphael the Archangel

First reading, Gospel and a short reflection. About six minutes.

Mass attendance3 of 4 Sundays this month

Your last Mass was 19 October.

PerspectiveWhy Catholics honour Mary

Four short readings from the Fathers of the Church on the Mother of God.

Read ›
Current
Plus$10 per month · 2,000,000 tokens
Standard$20 per month · 4,000,000 tokens
You have used 82% of this month’s tokens

Upgrade for 2,000,000 a month.

tone 1 to 4
Tone 1Today
Tone 2Today
Tone 3Today
Tone 4Today
Plans and TodayIn context: a Current chip and a promo card; tinted cards and a link card

Your Account

Plan and billing

FreeFree · 200,000 tokens a month
Current
Plus$10 per month · 2,000,000 tokens
You have used 82% of this month’s tokens

Upgrade for 2,000,000 a month.

Today’s readingsSaint Raphael the Archangel

First reading, Gospel and a short reflection.

Mass attendance3 of 4 Sundays this month

Your last Mass was 19 October.

From the Library

PerspectiveWhy Catholics honour Mary

Four short readings from the Fathers of the Church on the Mother of God.

Read ›

Props

PropTypeRequiredDefault
coverReactNodeNo—
avatarReactNodeNo—
titleReactNodeNo—
titleLinesnumber | undefinedNo—
subtitleReactNodeNo—
labels{ label: ReactNode; tone?: TagTone | undefined; }[] | undefinedNo—
extraReactNodeNo—
cornerBadgeReactNodeNo—
footerReactNodeNo—
actionsReactNode[] | undefinedNo—
editableboolean | undefinedNo—
onTitleChange((value: string) => void) | undefinedNo—
bionicboolean | undefinedNo—
bionicOptionsBionicOptions | undefinedNo—
activeBorderboolean | undefinedNo—
watermarkstring | undefinedNo—
tone"default" | 1 | 2 | 3 | 4 | undefinedNodefault
hrefstring | undefinedNo—
targetstring | undefinedNo—
relstring | undefinedNo—
renderLinkRenderLink | undefinedNo—
orientation"vertical" | "row" | "tile" | "feature" | undefinedNovertical
coverFrame"frame" | "media" | "clip" | undefinedNoframe
eyebrowReactNodeNo—
promoboolean | undefinedNo—
onDismiss(() => void) | undefinedNo—

Accessibility

A plain <div>: a visual grouping, not an interactive or landmark role. aria-* and data-* props pass through to the root, so add role="article" (or whatever the context calls for) yourself.

data-rebar-* attributes

data-rebar-component="card" on the root; data-rebar-part is "corner-badge", "cover", "header", "avatar", "title", "subtitle", "extra", "labels", "body", "footer", "actions" or "action" (per item). Only the parts in use render.

Migrating to Ant Design

cover, title, extra and actions match AntD's Card props directly. avatar moves inside Card.Meta. labels, footer and titleLines have no AntD equivalent (recompose by hand; a CSS line-clamp for the title). cornerBadge maps to Badge.Ribbon wrapping the card.

Tokens

Custom properties, set on the component or any ancestor. The default is what applies when one is unset. 43 of 69 were added in 1.1.0 and are marked.

PropertyDefault
--rebar-card-backgroundvar(--rebar-color-bg-raised, var(--rebar-color-bg-primary, #ffffff))1.1
--rebar-card-body-paddingvar(--rebar-space-lg, 24px)
--rebar-card-body-padding-topvar(--rebar-space-md, 16px)
--rebar-card-border-widthvar(--rebar-border-width, 1px)1.1
--rebar-card-eyebrow-gap4px
--rebar-card-feature-chip-backgroundvar(--rebar-color-tint-3)1.1
--rebar-card-feature-chip-colorvar(--rebar-color-text-secondary)1.1
--rebar-card-feature-chip-letter-spacing0.1em1.1
--rebar-card-feature-chip-padding3px 10px1.1
--rebar-card-feature-chip-size11px1.1
--rebar-card-feature-cover-backgroundvar(--rebar-color-bg-secondary)1.1
--rebar-card-feature-cover-border1px solid var(--rebar-color-border)1.1
--rebar-card-feature-cover-radius26px1.1
--rebar-card-feature-gap12px1.1
--rebar-card-feature-title-line-height1.21.1
--rebar-card-header-paddingvar(--rebar-space-md, 16px) var(--rebar-space-lg, 24px)
--rebar-card-header-padding-bottom-lastvar(--rebar-space-md, 16px)
--rebar-card-link-hover-shadowvar(--rebar-shadow, 0 4px 14px rgba(0, 0, 0, 0.1))1.1
--rebar-card-link-hover-transformtranslateY(-2px)1.1
--rebar-card-overflowhidden1.1
--rebar-card-promo-backgroundvar(--rebar-color-tint-3, #f5f5f5)1.1
--rebar-card-promo-body-aligncenter1.1
--rebar-card-promo-body-gap01.1
--rebar-card-promo-body-line-heightinherit1.1
--rebar-card-promo-body-margin-inline01.1
--rebar-card-promo-body-opacity11.1
--rebar-card-promo-body-padding01.1
--rebar-card-promo-body-rowauto1.1
--rebar-card-promo-body-sizeinherit1.1
--rebar-card-promo-body-weightinherit1.1
--rebar-card-promo-colorinherit1.1
--rebar-card-promo-cover-height64px1.1
--rebar-card-promo-cover-radius16px1.1
--rebar-card-promo-cover-width64px1.1
--rebar-card-promo-gap14px1.1
--rebar-card-promo-header-aligncenter1.1
--rebar-card-promo-header-padding01.1
--rebar-card-promo-header-rowauto1.1
--rebar-card-promo-overflowvisible1.1
--rebar-card-promo-padding14px 52px 14px 14px1.1
--rebar-card-promo-radius20px1.1
--rebar-card-promo-rowsnone1.1
--rebar-card-promo-title-letter-spacingvar(--rebar-card-title-letter-spacing, inherit)1.1
--rebar-card-promo-title-line-heightvar(--rebar-card-title-line-height, inherit)1.1
--rebar-card-promo-title-sizevar(--rebar-card-title-size, var(--rebar-font-size-md, 16px))1.1
--rebar-card-promo-title-weightvar(--rebar-card-title-weight, 600)1.1
--rebar-card-radiusvar(--rebar-radius, 4px)
--rebar-card-subtitle-sizevar(--rebar-font-size-sm, 14px)
--rebar-card-tile-gap18px
--rebar-card-tile-hover-shadowvar(--rebar-shadow, 0 4px 14px rgba(0, 0, 0, 0.1))
--rebar-card-tile-hover-transformtranslateY(-2px)
--rebar-card-tile-min-height132px
--rebar-card-tile-padding16px
--rebar-card-tile-radius26px
--rebar-card-tile-subtitle-gap3px
--rebar-card-tile-subtitle-line-height1.35
--rebar-card-tile-subtitle-size12.5px
--rebar-card-tile-title-colorinherit
--rebar-card-tile-title-letter-spacing-0.015em
--rebar-card-tile-title-line-height1.1
--rebar-card-tile-title-size19px
--rebar-card-title-familyinherit
--rebar-card-title-letter-spacinginherit
--rebar-card-title-line-heightinherit
--rebar-card-title-sizevar(--rebar-font-size-md, 16px)
--rebar-card-title-variationinherit
--rebar-card-title-weightvar(--rebar-font-weight-semibold, 600)
--rebar-card-tone-bgvar(--rebar-color-tint-1, #f5f5f5)1.1
--rebar-card-tone-border-widthvar(--rebar-card-border-width, var(--rebar-border-width, 1px))1.1