Form Components
Build robust forms with Flux’s extensive form component library:- Input - Text inputs with support for icons, validation states, and loading indicators
- Textarea - Multi-line text inputs with configurable resize behavior
- Select - Native select dropdowns with custom styling
- Checkbox - Checkboxes with multiple variants (default, buttons, cards, pills)
- Radio - Radio buttons with multiple variants (default, buttons, cards, pills, segmented)
- Switch - Toggle switches for boolean values
- OTP - One-time password input for verification codes
- Avatar - User avatars with initials, images, or icons
- Field - Form field wrapper with label, description, and error handling
- Fieldset - Group related form controls together
Action Components
Components for user interactions and actions:- Button - Versatile button component with multiple variants and sizes
- Dropdown - Dropdown menus and popovers
- Tooltip - Contextual tooltips for additional information
Layout Components
Structure your application with these layout primitives:- Header - Application header with optional sticky positioning
- Sidebar - Collapsible navigation sidebar
- Footer - Application footer
- Container - Centered content container with max-width
- Separator - Visual dividers between content sections
Navigation Components
Help users navigate through your application:- Navbar - Horizontal navigation bar
- Navlist - Vertical navigation list
- Navmenu - Contextual navigation menu
- Breadcrumbs - Breadcrumb navigation trails
Feedback Components
Provide feedback and status information to users:- Badge - Status badges and labels with color variants
- Callout - Highlighted messages and alerts
- Modal - Dialog overlays and flyouts
- Skeleton - Loading placeholders with animation
Display Components
Components for displaying content:Getting Started
All Flux components follow consistent patterns:- Livewire Integration - Seamless
wire:modelbinding - Validation - Automatic error state handling
- Dark Mode - Built-in dark mode support
- Accessibility - ARIA attributes and keyboard navigation
- Customization - Easily override styles with Tailwind classes
Each component supports standard HTML attributes and Alpine.js directives alongside Flux-specific props.
Component Patterns
Basic Usage
All Flux components use theflux: namespace: