cinder
The glass slipper for your Ash data

Data display that just works

A LiveView component for displaying Ash resources as tables, lists, or grids. Cinder figures out the sensible defaults for filters, sorting, and pagination so you can focus on the bits that actually matter.

$ mix igniter.install cinder

This is a complete, working data table

Filters, sorting, pagination — all included. No event handlers to write.

item_collection.html.heex
<Cinder.collection
  resource={MyApp.LostAndFound.Item}
  page_size={4}
>
  <:col :let={item} field="name" sort search>{item.name}</:col>
  <:col :let={item} field="value" sort>{"$#{item.value}"}</:col>
  <:col :let={item} field="condition" filter>
    <.badge value={item.condition} />
  </:col>
</Cinder.collection>
Live result
Filters
Name
Value
Condition
Loading...

Features

11 filter types

Intelligent Filters

Cinder reads your Ash attributes and picks the right filter type. Enums become selects, dates become range pickers, booleans become checkboxes.

name→text category→select colours→multi select claimed→yes/no value→number range found_on→date range days_unclaimed→number range room.wing.name→text

Multiple Layouts

Table, List, and Grid layouts with the same filtering and sorting. Switch with a single attribute.

Selection & Bulk Actions

Select rows with checkboxes and run Ash actions on all of them at once, with optional confirmation.

Relationships

Use dot notation for related fields (user.department.name). Filter and sort across associations.

Keyset Pagination

Offset pagination for simple cases, keyset pagination when you need performance on large datasets.

8 Built-in Themes

daisyUI, Flowbite, modern, dark, retro, and more. Or use the DSL to build your own theme.

URL State

One line keeps filters, sorting and the page in the URL, so every view can be bookmarked and shared.

EN NL SV +6

i18n Ready

Ships with translations for 9 languages. Adding more is straightforward.

Global Search

Mark columns as searchable and get one search box that looks across all of them.

Get Started

Using Igniter

recommended
$ mix igniter.install cinder

Manual Installation

Add to your mix.exs:
def deps do
  [{:cinder, "~> 0.18"}]
end
Then run:
$ mix deps.get
$ mix cinder.install
Requirements Phoenix LiveView 1.1+ Ash Framework 3.24.5+ Elixir 1.17+

Ready to see it in action?

Explore the Playground →