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:
πŸ‘‰ http://pjdeveloper896.github.io/Aakar-ui

πŸ“¦ CDN link:

<script src="http://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="http://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: http://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: http://Pjdeveloper896.github.io/Aakar-ui
πŸ’¬ Comment below with ideas or feedback!


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

Top comments (0)