Introducing LiveTable - Interactive Tables for Phoenix LiveView
Hello Elixir community!
I’m excited to announce the release of LiveTable, a comprehensive table component library built specifically for Phoenix LiveView applications. LiveTable aims to simplify the implementation of complex, interactive data tables while maintaining the real-time capabilities that make LiveView great.
Key Features
-
Rich Filtering System
- Text search across multiple fields
- Range filters for numbers, dates, and datetimes
- Boolean filters with custom conditions
- Select filters with static and dynamic options
- Multi-column filtering support
-
Smart Sorting
- Multi-column sorting with shift-click support
- Sortable associated fields
- Customizable sort directions
-
Export Capabilities
- Background processing with Oban
- CSV exports using NimbleCSV
- PDF exports using Typst
-
Real-time Updates
- Instant filter feedback
- Seamless LiveView integration
-
Flexible Pagination
- Configurable page sizes
- Dynamic page navigation
- Efficient database querying
Getting Started
Add to your dependencies:
def deps do
[
{:live_table, "~> 0.1.1"}
]
end
Check out our GitHub Repository for complete documentation and examples.
Why LiveTable?
We built LiveTable to address the common need for interactive data tables in Phoenix applications. It provides a robust, out-of-the-box solution that’s both powerful and easy to implement. Whether you’re building an admin panel or a data-heavy user interface, LiveTable handles the complexity while you focus on your application logic.
Feedback Welcome!
This is an early release, and we’d love to hear your feedback! Feel free to:
- Try it out and share your experience
- Report any issues you encounter
- Suggest features you’d like to see
- Contribute to the project
Looking forward to seeing what you build with LiveTable!