Skip to content

Getting Started

BharatUI is a versatile UI component library built with Web Components and Lit. This makes the library easy to use and acts as a drop-in replacement for systems. It is framework-agnostic and can be used with multiple other frameworks. We are very early-stage and are planning to add proper support to other frameworks as we progress.

Quick Start

CDN

To start using any BharatUI components, include the below CDN link in your HTML. The styles are also bundled with the component library, hence there is no need to rely on any additional CDN’s for CSS styles.

<script src="https://cdn.jsdelivr.net/npm/bharat-ui@1.0.36/dist/public/bharat-ui.umd.min.js"></script>
Package

BharatUI package can also be installed in your project using the below package managers:

Terminal window
npm i bharat-ui

That’s it, you can now use any components from the BharatUI library in your project!

Why BharatUI?


  • Framework-agnostic Web Components
  • Truly Reusable Components
  • Zero dependencies
  • Fast load times

Coming Soon


  • More components
  • Theme tokens + customization via CSS variables
  • Playground
  • Full-Fledged support for frameworks like React, Vue, and many-more