You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 Bootstrap 5 Snippets - Professional Web Development Extension
A professional-grade VS Code extension providing comprehensive Bootstrap 5.3.2 snippets with built-in accessibility features, keyboard shortcuts, modern UX patterns, and developer-friendly IntelliSense. Perfect for building inclusive, responsive web applications.
A professional-grade VS Code extension providing comprehensive Bootstrap 5.3.2 snippets with built-in accessibility features, keyboard shortcuts, modern UX patterns, and developer-friendly IntelliSense. Perfect for building inclusive, responsive web applications.
🎉 Trusted by 20,000+ developers worldwide!
🌟 What's New in v2.1 - Enhanced Developer Experience
⌨️ Keyboard Shortcuts (NEW)
10 Essential Shortcuts: Quick access to most-used components
Intuitive Key Combinations: All start with Ctrl+Shift+B (or Cmd+Shift+B on Mac)
Instant Component Creation: Container, Row, Column, Navbar, Modal, Form, and more
Interactive Shortcuts Guide: Built-in viewer with complete reference
Customizable: Modify shortcuts in VS Code preferences
🎯 Enhanced Commands
Show Shortcuts Guide: Interactive web view with all keyboard shortcuts
Extension Info: Quick access to version and features
Welcome Notifications: First-install and update announcements
GitHub Integration: Direct links to repository and changelog
♿ Comprehensive Accessibility Features
ARIA Attributes: All interactive components include proper aria-* attributes
Screen Reader Support: Optimized for assistive technologies with descriptive labels
Keyboard Navigation: Full keyboard accessibility with proper focus management
Skip Links: Built-in skip navigation for improved accessibility
Semantic HTML: All snippets use semantic markup following WCAG 2.1 AA guidelines
Live Regions: Dynamic content updates announced to screen readers
🎯 Enhanced Developer Experience
Emoji Descriptions: Visual IntelliSense with emoji-enhanced snippet descriptions
Multiple Prefixes: Intuitive shortcuts like bs5-btn, btn, modal, form
Smart Tab Stops: Optimized cursor positioning for faster development
Professional UX: Modern patterns with loading states, validation, and interactions
Speed up your Bootstrap development with 10 essential keyboard shortcuts! All shortcuts start with Ctrl+Shift+B (Windows/Linux) or Cmd+Shift+B (Mac):
Shortcut
Component
Description
Ctrl+Shift+B → Ctrl+Shift+C
Container
Bootstrap responsive container
Ctrl+Shift+B → Ctrl+Shift+R
Row
Grid system row
Ctrl+Shift+B → Ctrl+Shift+G
Column
Grid system column
Ctrl+Shift+B → Ctrl+Shift+N
Navbar
Complete navigation bar
Ctrl+Shift+B → Ctrl+Shift+M
Modal
Modal dialog with trigger
Ctrl+Shift+B → Ctrl+Shift+F
Form
Professional form with validation
Ctrl+Shift+B → Ctrl+Shift+A
Alert
Contextual alert message
Ctrl+Shift+B → Ctrl+Shift+K
Card
Content card component
Ctrl+Shift+B → Ctrl+Shift+T
Table
Responsive data table
Ctrl+Shift+B → Ctrl+Shift+D
Dropdown
Dropdown menu
💡 Pro Tip: Use Ctrl+Shift+P → "Show Bootstrap 5 Keyboard Shortcuts" to view the complete interactive guide!
✨ Key Features
🎯 Bootstrap 5.3.2 Complete
Latest Bootstrap version with all components and utilities
Modern CSS Grid and Flexbox patterns
Responsive design patterns and breakpoints
Dark mode and theme customization support
♿ Accessibility Excellence
WCAG 2.1 AA Compliant snippets
Screen reader optimized with proper ARIA labels
Keyboard navigation support for all interactive elements
Focus management helpers for modals and complex components
Semantic HTML5 structure with proper landmark roles
🎨 Professional UI Components
FontAwesome 6.4 integration with 2000+ icons
Loading states and skeleton screens
Form validation with real-time feedback
Interactive animations and transitions
Mobile-first responsive design patterns
🌐 Multi-Framework Support
HTML5 - Pure Bootstrap snippets
JavaScript/TypeScript - Component initialization and interaction
React - JSX-compatible snippets with proper syntax
Vue.js - Vue template integration
Angular - Component and template support
Svelte - Svelte component patterns
PHP - Server-side integration snippets
🚀 Developer Experience
IntelliSense Integration - Rich autocomplete with descriptions
Consistent Naming - Logical prefix system (bs5-, component names)
Tab Navigation - Smart cursor positioning for efficient coding
Code Examples - Real-world usage patterns and best practices
🎯 Component Categories
🛡️ Accessibility Helpers (NEW)
Snippet
Description
bs5-accessible-button
� Button with full ARIA support and focus management
bs5-accessible-modal
🪟 Modal with focus trap and screen reader announcements
bs5-accessible-form
📝 Form with comprehensive validation and error handling
bs5-accessible-nav
🧭 Navigation with skip links and keyboard support
bs5-accessible-table
📊 Data table with proper headers and screen reader support
bs5-skip-links
⏩ Skip navigation links for keyboard users
bs5-screen-reader-only
👁️ Content visible only to screen readers
bs5-live-region
📢 Dynamic content announcements
bs5-focus-trap
🎯 JavaScript focus management helper
🔘 Enhanced Buttons (Updated)
Snippet
Description
bs5-btn
🔘 Professional button with accessibility features
bs5-btn-group
👥 Button group with proper ARIA roles
bs5-btn-async
⏳ Button with loading states and async handling
bs5-btn-icon
🎨 Icon button with FontAwesome integration
bs5-btn-dropdown
📋 Split button dropdown with keyboard navigation
bs5-btn-toggle
🔄 Toggle button with state management
bs5-btn-floating
🎈 Floating action button (FAB)
bs5-btn-social
📱 Social media buttons with brand colors
🪟 Modern Modals (Enhanced)
Snippet
Description
bs5-modal
🪟 Complete modal with trigger button and accessibility
bs5-modal-form
📋 Form dialog with validation and ARIA support
bs5-modal-confirm
⚠️ Confirmation dialog with proper warning semantics
bs5-modal-gallery
🖼️ Image gallery modal with navigation controls
bs5-modal-fullscreen
📱 Fullscreen modal with responsive breakpoints
bs5-modal-body
📝 Simple modal body without footer
📝 Professional Forms (Redesigned)
Snippet
Description
bs5-form
� Complete form with validation and accessibility
bs5-input
✏️ Text input with validation states and help text
bs5-email
✉️ Email input with privacy notice and validation
bs5-password
🔒 Password input with show/hide toggle
bs5-select
📋 Select dropdown with proper labeling
bs5-textarea
📄 Textarea with character count and validation
bs5-checkbox
☑️ Checkbox with accessible labeling
bs5-radio
📻 Radio button group with proper fieldset
bs5-file
📁 File upload with format restrictions
bs5-input-group
💰 Input group with prefix/suffix addons
📝 Form Field Groups (Enhanced)
Snippet
Description
bs5-name-row
👥 First and last name fields with autocomplete
bs5-address
🏠 Complete address form with proper validation
bs5-contact
📞 Contact information (email, phone) with formatting
bs5-date-range
📅 Date range picker with constraints
bs5-search
🔍 Search field with icon and clear button
bs5-multi-check
☑️ Multi-select checkbox group
bs5-rating
⭐ Star rating system with accessibility
bs5-switch
🔄 Toggle switch with proper switch role
🧭 Navigation Systems (Rebuilt)
Snippet
Description
bs5-navbar
🧭 Complete navbar with skip links and search
bs5-navbar-simple
🎯 Clean navbar with responsive collapse
bs5-breadcrumb
🍞 Breadcrumb navigation with proper ARIA
bs5-tabs
📂 Tab navigation with keyboard support
bs5-pills
💊 Pills navigation with various layouts
bs5-sidebar
📊 Dashboard sidebar with grouped navigation
bs5-pagination
📄 Accessible pagination with proper labels
🃏 Content Cards (Professional)
Snippet
Description
bs5-card
🃏 Flexible card with optional image and actions
bs5-card-product
🛍️ E-commerce product card with ratings
bs5-card-profile
👤 User profile card with stats and actions
bs5-card-feature
⭐ Feature showcase card with icons
bs5-card-pricing
💰 Pricing plan card with feature list
bs5-card-article
📰 Blog article card with meta information
bs5-card-grid
🎯 Responsive card grid layout
🎪 Interactive Components
Snippet
Description
bs5-carousel
🎠 Image carousel with accessibility controls
bs5-accordion
🪗 Collapsible content with proper ARIA
bs5-dropdown
📋 Dropdown menu with keyboard navigation
bs5-toast
🍞 Toast notifications with auto-dismiss
bs5-offcanvas
📱 Off-canvas sidebar with focus management
bs5-collapse
📁 Collapsible content with smooth animations
📊 Data Display
Snippet
Description
bs5-table
📊 Responsive table with accessibility features
bs5-list-group
📝 Flexible list with various content types
bs5-progress
📈 Progress bars with labels and animations
bs5-spinner
⏳ Loading spinners with accessibility labels
bs5-placeholder
📦 Skeleton loading screens
bs5-alert
🚨 Contextual alerts with icons and actions
bs5-badge
🏷️ Labels and count indicators
🎨 Layout & Utilities
Snippet
Description
bs5-container
📦 Responsive container with breakpoints
bs5-row
📏 Grid row with gutter options
bs5-col
📐 Grid columns with responsive sizing
bs5-flex
🔄 Flexbox utilities for alignment
bs5-spacing
📏 Margin and padding utilities
bs5-text
✍️ Typography and text utilities
bs5-bg
🎨 Background color and gradient utilities
bs5-border
🖼️ Border utilities and decorations
🚀 Quick Start
1. Installation
# Via VS Code Command Palette
Ctrl+P (Cmd+P on Mac) → ext install Nishikanta12.bootstrap5snippets
# Or search "Bootstrap 5 Snippets" in Extensions marketplace
2. Create Your First Page
Type bs5-template and press Tab to generate a complete HTML5 page:
<!DOCTYPE html><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport" content="width=device-width, initial-scale=1.0"><title>Bootstrap 5 Page</title><linkhref="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"><linkrel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"></head><body><!-- Skip to main content link for accessibility --><aclass="visually-hidden-focusable" href="#main-content">Skip to main content</a><mainid="main-content" tabindex="-1"><!-- Your content here --></main><scriptsrc="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script></body></html>
3. Add Components
Type bs5-navbar → Complete navigation with accessibility
Type bs5-card-product → E-commerce product card
Type bs5-modal-form → Form dialog with validation
Type bs5-form → Professional form with accessibility
💡 Usage Examples
Accessible Navigation
<!-- Type: bs5-navbar --><!-- Skip Link for Accessibility --><aclass="visually-hidden-focusable" href="#main-content">Skip to main content</a><!-- Bootstrap 5 Navbar --><navclass="navbar navbar-expand-lg navbar-dark bg-dark" role="navigation" aria-label="Main navigation"><divclass="container"><aclass="navbar-brand" href="/" aria-label="Brand name - Go to homepage">Brand</a><!-- Full accessible navbar structure --></div></nav><mainid="main-content" tabindex="-1"><!-- Your content here --></main>
Professional Form with Validation
<!-- Type: bs5-form --><formclass="row g-3 needs-validation" novalidateonsubmit="handleFormSubmit(event)" aria-labelledby="formTitle"><!-- Form Title --><divclass="col-12"><h2id="formTitle" class="h4 mb-3">Contact Form</h2></div><!-- Name Fields --><divclass="col-md-6"><labelfor="firstName" class="form-label">First Name <spanclass="text-danger">*</span></label><inputtype="text" class="form-control" id="firstName" name="firstName" requiredaria-describedby="firstNameHelp" placeholder="Enter first name"><divid="firstNameHelp" class="form-text">Please enter your first name</div><divclass="invalid-feedback">Please provide a valid first name.</div></div><!-- More fields... --></form>
git clone https://github.com/NishikantaRay/Vs-code-extension-for-Bootstrap5.git
cd Vs-code-extension-for-Bootstrap5
npm install
npm run validate # Validate all snippets
npm run test# Run tests
Contribution Guidelines
Follow accessibility standards (WCAG 2.1 AA)
Test across multiple browsers and screen readers
Include comprehensive examples and documentation
Use semantic HTML and proper ARIA attributes
Maintain consistent naming conventions
📊 Extension Statistics
🎯 Total Snippets: 200+ professional components
♿ Accessibility: 100% WCAG 2.1 AA compliant
🌐 Languages: 7 supported frameworks
� Responsive: Mobile-first design patterns
🎨 Icons: 2000+ FontAwesome icons included
⚡ Performance: Optimized for fast development
🏆 Awards & Recognition
⭐ Top-Rated Bootstrap extension on VS Code Marketplace
🏅 Accessibility Excellence - WCAG 2.1 AA compliant
🚀 Developer Favorite - 20,000+ active installations
⌨️ Enhanced Productivity - 10 keyboard shortcuts for rapid development
📈 Growing Community - Active GitHub contributions
🎯 Professional Grade - Used by enterprises worldwide