Skip to content
GitHub

DataTableFilters

Preview react
Terminal window
npx shadcn@latest add https://devx-op.github.io/arkitect-ui/r/r/data-table-filters.json
type FilterConfig = {
id: string
type: "text" | "select" | "date"
label: string
placeholder?: string
options?: { label: string; value: string }[]
}
PropTypeDefaultDescription
filtersFilterConfig[][]Array of filter configurations
valuesRecord<string, any>{}Current filter values
onFilterChange(values: Record<string, any>) => void-Callback when filter values change