Skip to content

COMPONENT / beton-brut

Béton Brut_

Raw-concrete background: SVG noise grain and blotches on --dim, with formwork seams and tie holes. Static, CSS and data-URI SVG. Requires @cybr/tokens.

Install

  1. 1. Map the @cybr namespace, once per project. Add this inside your components.json, or into its existing "registries" object. No components.json yet? Run npx shadcn@latest init first to create one.

    "registries": { "@cybr": "https://cybr-ui.com/r/{name}.json" }
  2. 2. Add components:

    $ npx shadcn@latest add @cybr/beton-brut

If shadcn reports Unknown registry "@cybr", step 1 is missing from that project's components.json.

Preview

03 / BÉTON BRUT

SVG NOISE · FORMWORK SEAMS · TIE HOLES

Props

Component props
PropTypeDefaultDescription
formworkbooleantrueDraw 2px --surface formwork seams (424×120 panels) and --bg tie holes. Off leaves bare concrete.
...propsComponentProps<"div">—Every other native <div> attribute is forwarded; className is merged last with cn(). Give the root a height (or content) and any layout classes; they apply to the children directly.

Usage

Needs the stylesheet from @cybr/tokens. After the install, import it in app/globals.css:

@import "tailwindcss";
@import "../styles/cybr-tokens.css";
import { BetonBrut } from "@/components/ui/beton-brut";

export function Bunker() {
  return (
    <BetonBrut className="min-h-96 p-10">
      <p className="max-w-prose bg-ground-deep p-4 font-mono text-ink">Poured in place. No cladding.</p>
    </BetonBrut>
  );
}

States

Accessibility