Xtendui
Modular Tailwind CSS components with vanilla JS

- Install via npm
What Is the Xtend UI?
Xtend UI is a powerful, framework-agnostic library of Tailwind CSS components enhanced by plain JavaScript. It enables you to build rich, interactive interfaces with minimal setup
Features ✨
Modular Design Components: Build complex UIs by composing primitive elements.
Customizable Animations: Animate with Tailwind variants, CSS, or JavaScript (GSAP).
Complex Interaction Logic: Internal APIs handle dropdowns, accordions, tooltips, and more.
Accessibility Built-In: Automatic ARIA attributes and keyboard navigation support.
Included Components 📒
Accordion
Dropdown
Tooltip
Modal / Dialog
Tabs
Carousel
Offcanvas
Scrollspy
Menu
Pros and Cons
Pros ✅
Lightweight, no framework lock-in
Highly customizable via Tailwind CSS
Built-in accessibility features
Seamless animations with GSAP integration
Cons ⚠️
No official React/Vue wrappers (vanilla JS only)
Smaller community compared to mainstream UI kits
Learning curve for advanced customizations
Documentation could use more real-world examples
Integration
Vanilla HTML: Include via CDN or compile CSS/JS assets.
npm:
npm install xtendui
then import in your build.Frameworks: Works inside React, Vue, Angular, or Svelte projects.
Tailwind Config: Extend your Tailwind setup to include XTUI variants.
FAQ
Is Xtend UI free to use?
Yes, it’s open-source under the MIT and CC-BY-4.0 licenses.
Can I use Xtend UI in React or Vue?
Absolutely—its vanilla JS API works seamlessly in any framework.
How do I install Xtend UI?
Install via npm (npm install xtendui) or include the CDN link in your HTML.