BrookUI

Blocks

Marketing sections that ship with the BrookUI bundle. Every block below is rendered live by the installed theme — switch dark mode from the header to see both palettes.

Banner · banner-inline

Full-width status strip in four tones, driven by the theme's success / warning / error semantics.

Heads up — Soft Day v0.1 is the first published theme.
Deployment finished — 0 warnings.
License renews in 14 days.
Build failed: missing font package.

Call to action · cta-centered

Card row with headline, support copy and themed actions.

Ship your next launch in Soft Day

One package, one import, every shadcn component covered — light and dark.

Content · content-single-column

Single-column editorial stack; multi-column layouts get their own skeletons.

Blocks are presentational: they consume only semantic tokens, so the same markup renders correctly in every BrookUI theme without a single override.

How theming works

Spacing, radii and type scale come from the theme bundle — never from the block.

Media · media-split

Framed media surface with caption. The surface look belongs to the theme; product photography lands in a later phase.

Placeholder surface — every color on this page comes from the installed theme.

Code

Syntax surface with copy action, styled by the theme's muted layers.

usage.tsx
npx shadcn@latest add @brookui/banner-inline

import { BannerInline } from "@/components/blocks/banner-inline";

<BannerInline tone="success">
  Deployment finished — 0 warnings.
</BannerInline>