Skip to Content
BBRICKSv0.7.4

@ergasti/bricks 0.7.4

The building blocks of the TRNDR dashboards.

BRICKS is Ergasti's shared React component library: one source for the kit, the dashboard shell, the data hooks, the brand and PR Portal blocks, and the design tokens and themes. Everything speaks English and Arabic and mirrors in RTL.

components
269
components
hooks
30
hooks
exports
984
exports

See it

This is real library code. Use the Live examples switches in the sidebar to change the language, theme and preset of every example.

A row of KPI cards and a button, drawn by the library.

Code
import { Button, KpiCard, KpiGrid } from '@ergasti/bricks';

function Overview() {
  return (
    <div>
      <KpiGrid>
        <KpiCard tone="lime" icon="user" label="Active" value="301" sub="In your program now" />
        <KpiCard tone="sky" icon="creators" label="Groups" value="3" sub="Open the Groups tab" />
      </KpiGrid>
      <Button variant="rasp">Open</Button>
    </div>
  );
}

Where to go

On this page