bootflex-ui
v1.0.0
Published
A lightweight, component-based CSS UI framework inspired by Bootstrap, built with SCSS and Web Components.
Maintainers
Readme
BootFlex
BootFlex is a lightweight, modern, component-based UI framework inspired by Bootstrap — built using modular SCSS and native Web Components. No dependencies, 100% customizable, and production-ready.
🚀 Features
- ✅ Modular SCSS architecture
- ✅ Built-in Web Components (
<boot-button>, etc.) - ✅ Easily extendable component system
- ✅ Works via CDN or NPM
- ✅ No frameworks or JS dependencies
📦 Installation
Option 1: CDN
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ShakilAnsary9/[email protected]/style.css" />
<script
type="module"
src="https://cdn.jsdelivr.net/gh/ShakilAnsary9/[email protected]/bootflex.js"
></script>Option 2: NPM
npm install bootflexThen in your HTML or JS app:
<link rel="stylesheet" href="node_modules/bootflex/dist/style.css" />
<script type="module" src="node_modules/bootflex/dist/bootflex.js"></script>🧩 Components
🔘 Button
<boot-button>Click Me</boot-button>Attributes:
variant="primary"(default)variant="success",danger,warning, etc. (customizable via SCSS)
More components coming soon: Modal, Alert, Accordion, Card, etc.
📁 File Structure
bootflex/
├── src/
│ ├── styles/
│ │ ├── main.scss
│ │ └── components/
│ ├── components/
│ │ └── component-js/
│ └── index.js
├── dist/
│ ├── style.css
│ └── bootflex.js
├── vite.config.js
├── package.json
└── README.md⚙️ Development
Build SCSS and JS:
npm run buildRun in development mode (with Vite):
npm run dev🤝 Contributing
Pull requests are welcome! If you’d like to add new components or improvements, please open an issue to discuss the changes first.
📄 License
MIT License © 2025 Shakil Ansary
