ZBMui

Installation

View markdown

A new, modern UI component library built on top of Base UI. Built for developers and AI.

Install dependencies

Configure path aliases

Configure the path aliases in your tsconfig.json file.

tsconfig.json

The @ alias is a preference. You can use other aliases if you want.

Configure styles

src/styles/globals.css

Add a cn helper

src/lib/cn.ts

Base UI setup

Portals

Base UI uses portals for components that render popups, such as Dialog and Popover. To make portaled components always appear on top of the entire page, add the following style to your application layout root:

iOS 26+ Safari

Starting with iOS 26, Safari allows content beneath the UI chrome to be visible. Backdrops such as those used by dialogs must use position: absolute instead of position: fixed to cover the entire visual viewport. For this to work after the page is scrolled, the following style must be added to your global styles:

ZBMui

Built by the ZBM.

© 2026 ZBM ui. All rights reserved.