Biji UI
Effortless UI Components for Your Leptos Projects
Build beautiful and functional user interfaces faster with Biji UI, a collection of essential UI components designed specifically for the Leptos framework.
Seamlessly integrated with any CSS framework, Biji UI allows you to leverage the power of utility-first styling to bring your components to life with ease. Focus on building the core functionality of your application while Biji UI handles the UI foundation.
Biji UI is inspired by popular headless UI libraries like HeadlessUI for React and Melt UI for Svelte.
Usage
Installation
Example
use *;
use accordion;
Developing the Docs
Prerequisites: Rust, cargo-leptos, pnpm
# Install cargo-leptos
# Install JS dependencies (Shiki syntax highlighter)
# SSR dev server with hot reload (recommended)
# CSR-only dev server via Trunk
The docs site (biji-ui-docs) supports two modes:
- SSR (
make dev) — Axum server with hydration, matches production - CSR (
make dev-csr) — Trunk, WASM-only, no server required
Version Compatibility
| Biji UI | Leptos |
|---|---|
| 0.1.x | 0.6.x |
| 0.2.x | 0.7.x |
| 0.3.x | 0.8.x |