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

11 components ready for production use with full documentation

📦 Components Status

Ajax Form
PRODUCTION

Vanilla JavaScript drop-in replacement for jQuery ajaxForm()

Pure JavaScript form submission handler with file upload support (including multiple files) and real-time progress tracking. No jQuery dependency.

JSON Table
PRODUCTION

Advanced data tables without jQuery - sorting, filtering, pagination, and inline editing

A lightweight yet powerful data table implementation that rivals DataTables functionality with pure vanilla JavaScript. Features global search, column-specific filtering, sortable columns, customizable pagination, and built-in row editing capabilities.

KEY FEATURES
  • JSON data loading & global/column search
  • Custom sort functions for dates/currency
  • Inline editing with floating labels
  • Toast notifications & event system
  • Less than 600 lines, zero dependencies
WYSIWYG Editor
PRODUCTION

Customizable rich text editor with full Bootstrap 5.3 integration

A fully-featured, modular WYSIWYG editor built with vanilla JavaScript. Provides rich text editing, media support, autosave, and advanced security features with seamless Bootstrap integration.

KEY FEATURES
  • Rich text editing with formatting preservation
  • Tables, media embedding, and code view
  • Autosave, draft recovery, and version control
  • HTML sanitization and XSS protection
  • Fullscreen, history, and cross-tab sync
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
YoBox Modals
PRODUCTION

Modern Bootstrap 5.3+ modal dialogs without jQuery

Vanilla JavaScript replacement for Bootbox providing alert, confirm, and prompt dialogs with extensive customization. Features multiple input types, validation, localization support, and seamless Bootstrap theming integration.

KEY FEATURES
  • No jQuery dependency - pure vanilla JS
  • Full Bootstrap 5.3 modal integration
  • 10+ input types with validation
  • Custom buttons and callbacks
  • Internationalization (i18n) support
  • Dark/light theme compatibility
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
Context Menu
PRODUCTION

Feature-rich right-click context menus with submenu support

Flexible context menu component that supports right-click, click, and hover triggers. Features nested submenus, dynamic content generation, conditional rendering, and seamless Bootstrap 5.3 integration with dark mode support.

KEY FEATURES
  • Multiple trigger events (click, right-click, hover)
  • Nested submenu support with unlimited depth
  • Dynamic menu items with conditional rendering
  • Element-specific data fetching
  • Font Awesome icon integration
  • Bootstrap 5.3 dark mode compatible
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
File Upload Preview
PRODUCTION

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.

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

Needs to enable a auto placement to move the menu back in the viewport if screen resolution is small.

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.

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.