Overview

Fluxon UI is a component library for Phoenix LiveView that provides a collection of UI components designed specifically for building modern, responsive web applications. The library emphasizes four core principles:

  • ♿ Accessible: Components are built with accessibility at their core, featuring full keyboard navigation, focus management, and WAI-ARIA compliance.
  • 🎨 Customizable: While providing polished designs out of the box, components can be easily styled to match your project's needs.
  • ✨ Consistent: All components share a cohesive design language for a professional and unified interface.
  • 🚀 Lightweight: Built with minimal JavaScript overhead, optimized for Phoenix LiveView applications.

Components

Fluxon UI provides a comprehensive set of components organized into three main categories:

🧱 Base Components

ComponentDescription
AccordionVertically stacked interactive headings that reveal or hide associated content
AlertDisplay important messages and feedback to users
BadgeSmall status descriptors for UI elements
ButtonInteractive button elements with various styles and states
LoadingLoading indicators and spinners
NavlistVertical navigation component
SeparatorVisual divider between content
TableData table with sorting and filtering capabilities
TabsTabbed interface for organizing content

🔲 Overlay Components

ComponentDescription
DropdownFloating menu triggered by a button
ModalDialog windows for important content and actions
PopoverFloating content panels triggered by user interaction
SheetSlide-out panel from any edge of the screen
TooltipShort informative message that appears on hover

📝 Form Components

ComponentDescription
CheckboxBinary selection input
DatePickerDate selection with calendar interface
FormForm wrapper with validation and submission handling
InputText input field with various types
RadioSingle selection from multiple options
SelectDropdown selection input
SwitchToggle switch for binary options
TextareaMulti-line text input

Installation

See the Installation guide for details on how to add and configure Fluxon to your application.