hyle-dioxus-native
Pre-built Dioxus components for tables, filters, pagination, and forms. Bring the data; these components know how to show it. Pair with hyle-dioxus hooks and your CRUD UI is done with almost no layout code.
See examples/dioxus for a full working app.
Quick start
The snippet below renders a filterable user list with pagination and an edit form. HyleTablePanel wraps everything in a <form method="get"> so filters work even without JavaScript.
use ;
use ;
Installation
[]
= "0.1"
Components
| Component | Props | Description |
|---|---|---|
HyleTablePanel |
list, filters?, on_row_click?, selected_id?, row_href?, children |
Wraps table in a <form method="get">; provides filter context; intercepts submit for JS filter apply |
HyleTable |
list, filters?, on_row_click?, selected_id?, row_href? |
HyleTableBody + HyleTablePagination |
HyleTableBody |
list, filters?, on_row_click?, selected_id?, row_href? |
Sortable <table> with optional inline column filters |
HyleTableFilters |
— (reads context from HyleTablePanel) |
Apply / Clear filter buttons |
HyleTablePagination |
list: HyleListState |
Prev/Next + per-page select; works without JS via GET form |
HyleFormFields |
filters: HyleFiltersState, only? |
Renders label + input for every field (or a subset via only) |
Testing