# Component Showcase Visual examples of all Concept components with implementation details. ## Cards Cards are the primary content containers in Concept, featuring custom styling with subtle shadows and borders. ### Basic Card ```html
Card Title

Card content goes here.

``` **Features:** - Border: `1px solid #e6e6f2` - Shadow: `0px 0px 4px 0px rgba(82, 63, 105, 0.05)` - Header padding: `20px 30px` - Body padding: `30px` ### Dashboard Metric Card Used throughout the Finance Dashboard for displaying key metrics: ```html
Total Income

$5,79,000

25%
``` ## Buttons Concept customizes Bootstrap buttons with specific color overrides for better contrast. ### Button Variants ```html ``` **Key Features:** - All dark buttons have forced white text using `!important` - Consistent hover states - Border radius: `0.25rem` ### Button Groups ```html
``` ## Forms Forms in Concept use custom styling for better visual consistency. ### Form Layout ```html
User Information
We'll never share your email.
``` **Form Styling:** - Border color: `#d4d9e3` - Focus border: `#5969ff` - Focus shadow: `0 0 0 0.2rem rgba(89, 105, 255, 0.25)` - Font size: `0.875rem` ## Tables Concept provides both basic Bootstrap tables and advanced DataTables integration. ### Basic Table ```html
Recent Orders
Order ID Customer Product Amount Status
#12345 John Doe iPhone 15 Pro $999 Completed
``` ### DataTable ```html
Name Position Office Start date Salary
``` ## Charts All charts in Concept use Chart.js with a consistent color palette. ### Line Chart Example ```javascript new Chart(ctx, { type: 'line', data: { labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'], datasets: [{ label: 'Revenue', data: [12000, 19000, 15000, 25000, 22000, 30000], borderColor: '#5969ff', backgroundColor: 'rgba(89, 105, 255, 0.1)', tension: 0.4 }] }, options: { responsive: true, maintainAspectRatio: false, plugins: { legend: { position: 'bottom', labels: { padding: 20, usePointStyle: true } } } } }); ``` ### Chart Color Palette - Primary: `#5969ff` - Secondary: `#6c757d` - Success: `#28a745` - Danger: `#dc3545` - Warning: `#ffc107` - Info: `#17a2b8` - Purple: `#7b1fa2` - Pink: `#ff407b` ## Navigation ### Sidebar The sidebar uses a dark theme with custom styling: ```scss // Sidebar configuration $sidebar-width: 260px; $sidebar-bg: #0e0c28; $sidebar-color: #8287a0; $sidebar-hover-bg: rgba(255, 255, 255, 0.08); $sidebar-active-bg: #5969ff; ``` ### Breadcrumbs ```html ``` ## Badges & Labels ### Status Badges ```html Primary Success Danger Warning Info Secondary ``` ### Pill Badges ```html 12 5 99+ ``` ## Alerts ### Alert Variants ```html ``` ## Modals ### Basic Modal ```html ``` ## Progress Bars ### Basic Progress ```html
25%
50%
75%
100%
``` ### Striped & Animated ```html
Loading...
``` ## Component Best Practices ### Accessibility - All interactive components are keyboard accessible - Proper ARIA labels and roles - Sufficient color contrast (WCAG AA compliant) - Focus indicators on all interactive elements ### Performance - Components use CSS transforms for animations - Images are lazy-loaded where appropriate - JavaScript is loaded asynchronously - Minimal DOM manipulation ### Responsive Design - All components adapt to screen size - Touch-friendly on mobile devices - Optimized layouts for tablets - Full functionality across all devices