Bootstrap Enhanced Components

A comprehensive collection of advanced Bootstrap 5.3 components and enhancements built with modern JavaScript, providing production-ready solutions for common web development needs.

This project extends Bootstrap 5.3.8 with custom components that maintain full compatibility with Bootstrap's design system while adding powerful functionality. All components are built using object-oriented JavaScript with customizable JSON configurations, following Bootstrap's conventions and accessibility standards.

Production Ready

5 components ready for production use with full documentation

📦 Components Status

Auto Textarea
PRODUCTION

Automatically adjusts textarea height based on content

Smart textarea component that dynamically resizes as users type, providing a better user experience for content input. Features smooth animations, configurable constraints, and full Bootstrap integration.

KEY FEATURES
  • Auto-resizing with smooth animations
  • Min/max height limits
  • Form validation integration
Toast Alerts
PRODUCTION

Advanced toast notification system with dynamic creation and queue management

Comprehensive toast notification system that extends Bootstrap's native toasts with dynamic creation, intelligent queueing, multiple positioning options, and advanced interaction features.

KEY FEATURES
  • Dynamic creation & priority queueing
  • 7 position options
  • Touch gestures & progress indicators
Input Mask
PRODUCTION

Real-time input formatting with pattern validation

Powerful input masking component that formats user input in real-time with customizable patterns, built-in presets for common formats, and comprehensive validation features.

KEY FEATURES
  • Real-time formatting
  • Built-in patterns (phone, SSN, credit card)
  • Custom validation & Bootstrap integration
Simple Lightbox
PRODUCTION

Lightweight image lightbox with gallery support

Feature-rich yet lightweight image lightbox component with gallery support, zoom functionality, and mobile-friendly touch interactions for showcasing images.

KEY FEATURES
  • Gallery support & zoom functionality
  • Touch/swipe gestures
  • Keyboard navigation & responsive design
Multi Select
PRODUCTION

Advanced multi-selection dropdown with search and grouping

Sophisticated multi-select dropdown component with search functionality, option grouping, custom rendering, and extensive customization options for complex selection interfaces.

KEY FEATURES
  • Search filtering & option grouping
  • Custom renderers & tag display
  • Bulk operations
Behavior Tracker
BETA

Advanced user behavior tracking and analytics

Comprehensive behavior tracking system that monitors user interactions, form engagement, and page analytics with built-in bot detection and human verification capabilities.

Multi Level Dropdown
BETA

Bootstrap-compatible multi-level dropdown navigation

Advanced dropdown component that extends Bootstrap's dropdown with multi-level navigation support, responsive behavior, and intelligent positioning.

Onboarding Tour
BETA

Interactive user onboarding and feature tours

Comprehensive onboarding tour system with multi-page support, form integration, and customizable styling to guide users through applications and features.

File Upload Preview
BETA

Enhanced file upload with visual previews and validation

Comprehensive file upload enhancement that provides visual previews for images and videos, file validation, and management capabilities with full Bootstrap integration.

Rate Limiter
DEVELOPMENT

Client-side rate limiting for API calls

Client-side rate limiting system with queue management, backoff strategies, and priority handling for API calls and form submissions.

Status: API refinements needed
Image Lightbox
DEVELOPMENT

Advanced image lightbox with zoom and slideshow

Feature-rich image lightbox with advanced zoom functionality, slideshow capabilities, and extensive customization options.

Status: Performance optimizations needed

🏗️ Architecture

Design Principles
  • Tab Indentation: Consistent formatting
  • OOP Design: Clean class-based architecture
  • JSON Configuration: Easy integration
  • Bootstrap Integration: Seamless theming
  • Accessibility First: WCAG 2.1 compliant
  • Performance Optimized: Efficient DOM handling
Project Structure
ComponentName/
├── README.md
├── Example.html
├── js/
│   └── ComponentName.js
├── scss/
│   └── _component.scss
└── ExampleJS/
    └── demo.js

🚀 Quick Start

Basic Installation

1. Include Bootstrap 5.3.8:
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.8/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.8/js/bootstrap.bundle.min.js"></script>
2. Include Component Files:
<!-- Component CSS -->
<link href="ComponentName/scss/_component.css" rel="stylesheet">

<!-- Component JavaScript -->
<script src="ComponentName/js/ComponentName.js"></script>
3. Initialize Component:
// Basic initialization
const component = new ComponentName('#element');

// With custom options
const component = new ComponentName('#element', {
    option1: 'value1',
    option2: true,
    callbacks: {
        onEvent: (data) => console.log(data)
    }
});
Configuration Pattern

All components follow a consistent configuration pattern with JSON options, making them easy to customize and integrate.

{
  enabled: true,
  theme: 'default',
  callbacks: {
    onInit: null
  }
}

🎨 Theming

Bootstrap Integration

Components seamlessly integrate with Bootstrap's theming system:

  • CSS Variables support
  • Full dark mode compatibility
  • Consistent color palette
  • Responsive breakpoints
Custom Themes

Create custom themes by overriding CSS variables:

:root {
  --bs-primary: #your-color;
  --bs-secondary: #your-color;
  --component-bg: var(--bs-body-bg);
  --component-border: var(--bs-border-color);
}

♿ Accessibility

Standards Compliance
  • WCAG 2.1 AA
  • Section 508
  • ARIA Support
Keyboard Navigation
  • Full keyboard accessibility
  • Focus management
  • Logical tab order
Visual Accessibility
  • High contrast support
  • Reduced motion options
  • Screen reader announcements

🔧 Browser Support

Chrome
60+
Firefox
55+
Safari
12+
Edge
79+
iOS Safari
12+
Android Chrome
60+

🤝 Contributing

Development Guidelines
Code Standards:
  • Use tab indentation
  • Follow OOP principles
  • Use Bootstrap 5.3 conventions
Testing:
  • Test in all supported browsers
  • Validate accessibility compliance
  • Test with keyboard navigation
Getting Started
  1. Fork the repository
  2. Create your feature branch
  3. Follow the coding standards
  4. Add tests for new features
  5. Submit a pull request

🎯 Roadmap

Upcoming Components
  • Data Tables: Advanced table with sorting, filtering, and pagination
  • Date Picker: Enhanced date/time selection component
  • Rich Text Editor: WYSIWYG editor with Bootstrap integration
  • Charts: Data visualization components
  • Form Builder: Dynamic form generation and validation
Improvements
  • Performance: Further optimization for mobile devices
  • Accessibility: Enhanced screen reader support
  • Testing: Comprehensive automated testing suite
  • Documentation: Interactive documentation site
📄 License

This project is released under the MIT License.

View License
🆘 Support

Need help? Check out our support options.