Aakar-ui

🌟 AakarUI – Modern Web Components Library

AakarUI is a beautiful, lightweight, and modular UI component library built entirely using native Web Components. No framework needed β€” just plug and play using a CDN!

πŸš€ Live CDN: https://pjdeveloper896.github.io/Aakar-ui/dist/Aakar.js


✨ Features


πŸ”— Getting Started

1. πŸ“₯ Include via CDN

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

2. πŸ§ͺ Use Components

<aakar-btn>Click Me</aakar-btn>

<aakar-input>Username</aakar-input>

<aakar-alert type="success">Profile updated!</aakar-alert>

<aakar-navbar brand="AakarUI">
  <a href="#">Home</a>
  <a href="#">Docs</a>
  <a href="#">Login</a>
</aakar-navbar>

πŸ“š Available Components

Component Description
<aakar-btn> Stylish button
<aakar-input> Floating label input
<aakar-card> Container with elevation
<aakar-alert> Alert box (success, error, etc.)
<aakar-navbar> Responsive top nav
<aakar-dropdown> Click-to-toggle dropdown menu
<aakar-modal> Dialog modal
<aakar-tabs> Tabbed interface
<aakar-tooltip> Hover tooltip
<aakar-toast> Auto-dismiss toast message
<aakar-accordion> Expand/collapse panel
<aakar-avatar> Circular profile picture
<aakar-chatbox> Basic chat interface
<aakar-calendar> Monthly calendar
<aakar-table> Responsive styled table
<aakar-upload> File uploader
<aakar-pill> Rounded pill-style tag
<aakar-stepper> Step tracker
<aakar-rating> Star rating selector
<aakar-slider> Range slider
…more coming soon! Β 

🧩 Example

<aakar-toast message="Welcome to AakarUI!" duration="3000"></aakar-toast>

<aakar-upload></aakar-upload>

<aakar-rating value="4"></aakar-rating>

πŸ“ Local Development

Clone the repo and serve locally:

git clone https://github.com/pjdeveloper896/Aakar-ui.git
cd Aakar-ui
npm install
npm run dev  # or use live-server / http-server

🌐 Documentation Site

πŸ‘‰ Visit: https://pjdeveloper896.github.io/Aakar-ui/

Includes:


🀝 Contributing

  1. Fork this repo
  2. Add your component in /src
  3. Build and test locally
  4. Submit a pull request πŸ™Œ

πŸ“˜ Documentation Site Suggestions

Your current GitHub Pages site can be turned into a docs hub:

βœ… Structure Example


docs/
β”œβ”€β”€ index.html       β†’ Home page + Getting Started
β”œβ”€β”€ components.html  β†’ Component previews
β”œβ”€β”€ usage.html       β†’ Live examples
β”œβ”€β”€ styles.css       β†’ Common CSS
└── script.js        β†’ Optional interactivity

βœ… Starter index.html

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>AakarUI Docs</title>
  <script src="https://pjdeveloper896.github.io/Aakar-ui/dist/Aakar.js"></script>
  <style>
    body { font-family: sans-serif; padding: 2rem; background: #f5f5f5; }
    h1 { color: #ff416c; }
    demo-block { margin-bottom: 2rem; display: block; }
  </style>
</head>
<body>
  <h1>πŸ“˜ AakarUI Documentation</h1>

  <demo-block>
    <h3>Button</h3>
    <aakar-btn>Click Me</aakar-btn>
  </demo-block>

  <demo-block>
    <h3>Input</h3>
    <aakar-input>Enter Name</aakar-input>
  </demo-block>

  <demo-block>
    <h3>Calendar</h3>
    <aakar-calendar></aakar-calendar>
  </demo-block>
</body>
</html>