Bilal UI
Bilal UIalpha
Getting started

Installation

Getting started with Bilal UI

Prerequisites

Before installing Bilal UI, ensure your project meets the following requirements:

  • React 18 or higher
  • Tailwind CSS v4
  • TypeScript 5+ (recommended)

1. Install utilities

All components use Tailwind CSS v4, so ensure it's installed in your project. Many components also use the cn utility function—you can set this up by following the framework guides below:


2. That's it

We use lucide-icons for most components that include icons, along with some shadcn/ui components. These dependencies will be automatically installed when using the CLI.

For example to add button01 to your project, it will be easy as:

bunx shadcn@latest add https://ui.bilal.dev/api/source/button01.json


Add to your page and it works!

import { MagneticButton } from "@/components/bilalUi/button/Button01";

export default function Page() {
  return <MagneticButton />;
}

3. Blocks

4. Optional dependencies

Some components require additional libraries, listed at the bottom of each component. Make sure to install them to ensure the component works properly.