Layers & theming
Predictable z-index stacking, React 19 style precedence, and clean CSS variable overrides for brand customization.
01 — STACKING ORDER
Z-index tiers
Standard cards, grids, calendar event blocks
Site header, sticky calendar weekday headers
DropdownMenu, Select, Popover, Tooltip, FilterMenu
Dialog, AlertDialog, CommandMenu overlays
Toaster status stack above modal backdrops
02 — STYLE PRECEDENCE & TAILWIND
CSS Cascade Layers & Tailwind CSS
Every BIU UI stylesheet is scoped inside standard @layer components sub-layers: components.biu-tokens → components.biu-base → components.biu-appearance → components.biu-theme.
Because Tailwind CSS v3 & v4 place utility classes in @layer utilities (above @layer components), you can override any component — including Portal overlays like Dialog, Popover, DropdownMenu, and Tooltip — directly with standard Tailwind classes in JSX, with zero !important and zero extra configuration:
<Dialog
trigger={<Button className="rounded-full px-5">View details</Button>}
className="rounded-lg shadow-none border border-neutral-200"
title="Project details"
>
<p>Standard Tailwind classes override BIU defaults cleanly.</p>
</Dialog>03 — CUSTOMIZATION
Overriding Default tokens
Override any CSS custom property on :root or a scoped wrapper to adapt BIU UI to your brand:
:root {
--biu-radius-control: 10px;
--biu-radius-panel: 14px;
--biu-color-focus: rgba(0, 96, 226, .75);
--biu-font-sans: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}