DEV Community

Cover image for ๐ŸŒŸ Build Stunning UIs Instantly with AakarUI โ€“ A Native Web Component Library
Prasoon
Prasoon

Posted on

๐ŸŒŸ Build Stunning UIs Instantly with AakarUI โ€“ A Native Web Component Library

๐ŸŒŸ Build Stunning UIs Instantly with AakarUI โ€“ A Native Web Component Library

Published by @Pjdeveloper896
Date: June 2025


โœจ Introducing AakarUI

Aakar-ui logo

AakarUI is a beautifully designed, lightweight native Web Components library built with โค๏ธ using pure JavaScript โ€” no frameworks, no dependencies, just plug and play using a single CDN file.

It's like having your own mini Tailwind + Bootstrap UI kit, but in native HTML tags like <aakar-btn>, <aakar-input>, <aakar-navbar>, etc.

โœ… Inspired by simplicity, focused on performance, designed for developers.


๐Ÿš€ Live Demo

๐Ÿ”— Try it here:
๐Ÿ‘‰ https://pjdeveloper896.github.io/Aakar-ui

๐Ÿ“ฆ CDN link:

<script src="https://pjdeveloper896.github.io/Aakar-ui/dist/Aakar.js"></script>
Enter fullscreen mode Exit fullscreen mode

๐Ÿงน Why AakarUI?

๐Ÿ“… Native Web Components (Shadow DOM, no conflicts)
๐ŸŒž Elegant default styles
๐Ÿ“ Easy to extend and override
๐Ÿงฑ Works in HTML, Vanilla JS, React, Vue, Angular, or anything
๐Ÿ“ฑ Perfect for blogs, dashboards, admin panels, and embedded tools


๐Ÿ“ฆ Components Included

Here are just some of the 30+ fully ready components available:

Basic Components

  • <aakar-btn> โ€“ Button with hover effects
  • <aakar-input> โ€“ Floating label input
  • <aakar-alert> โ€“ Success, warning, error messages
  • <aakar-card> โ€“ Content box with elevation

Layout Components

  • <aakar-navbar> โ€“ Navigation bar with branding and links
  • <aakar-tabs> โ€“ Tabbed UI interface
  • <aakar-accordion> โ€“ Expand/collapse sections
  • <aakar-stepper> โ€“ Step-by-step tracker

Feedback Components

  • <aakar-toast> โ€“ Auto-fading notifications
  • <aakar-tooltip> โ€“ Hover-based hints
  • <aakar-progress> โ€“ Loading progress bar
  • <aakar-rating> โ€“ Star rating control

Input & Utility

  • <aakar-upload> โ€“ File input with preview
  • <aakar-slider> โ€“ Custom range slider
  • <aakar-pill> โ€“ Clickable tags or filters
  • <aakar-dropdown> โ€“ Custom dropdown
  • <aakar-chatbox> โ€“ Basic chat window

Data Display

  • <aakar-calendar> โ€“ Interactive calendar
  • <aakar-table> โ€“ Styled responsive tables
  • <aakar-avatar> โ€“ User profile pictures

And more coming every week...


๐Ÿงช Example Usage

<!-- Button -->
<aakar-btn>Submit</aakar-btn>

<!-- Floating Input -->
<aakar-input>Email</aakar-input>

<!-- File Upload -->
<aakar-upload></aakar-upload>

<!-- Calendar -->
<aakar-calendar></aakar-calendar>

<!-- Chatbox -->
<aakar-chatbox></aakar-chatbox>
Enter fullscreen mode Exit fullscreen mode

No class names. No setup. Just use the tags.


๐Ÿ› ๏ธ Installation

You only need 1 line to use AakarUI:

<script src="https://pjdeveloper896.github.io/Aakar-ui/dist/Aakar.js"></script>
Enter fullscreen mode Exit fullscreen mode

That's it! Every custom component will be available globally.


๐Ÿ“ Project Structure

If you check the GitHub repo, you'll find:

Aakar-ui/
โ”œโ”€โ”€ dist/           โ† CDN build
โ”œโ”€โ”€ src/            โ† All component files
โ”œโ”€โ”€ docs/           โ† Demo & documentation
โ””โ”€โ”€ README.md       โ† Full guide
Enter fullscreen mode Exit fullscreen mode

๐Ÿ‘‰ GitHub: https://github.com/pjdeveloper896/Aakar-ui


๐Ÿ’ก Build Your Own Design System

Because each component uses Shadow DOM, you can use it inside any framework like:

// React Example
function Profile() {
  return <aakar-card><h3 slot="title">John</h3>Hello world</aakar-card>;
}
Enter fullscreen mode Exit fullscreen mode

Or build your own components on top of AakarUI using HTML & JS.


๐Ÿ’ก Want to Contribute?

PRs are welcome!

  • Fork the repo
  • Add your component inside src/
  • Use Shadow DOM & slot for extensibility
  • Add a <demo-block> example in docs/index.html

๐Ÿ’ฌ Final Thoughts

If you're tired of setting up class-based UI every time...
If you want clean, plug-and-play UI without learning big frameworks...
If you're just building a quick dashboard, landing page, or Chrome extension...

๐Ÿš€ Then AakarUI is made for you.

๐Ÿš€ Fast. Simple. Native. Beautiful.


๐Ÿ“ฌ Let's Connect

๐Ÿ”— GitHub: @Pjdeveloper896
๐Ÿ”— Website: https://Pjdeveloper896.github.io/Aakar-ui
๐Ÿ’ฌ Comment below with ideas or feedback!


#webcomponents #javascript #frontend #aakarui #opensource #html #uidesign #vanillajs

Top comments (0)