Sortable table header button that shows an up, down or neutral arrow for the current sort direction and calls onToggle on click. Pairs with any Tailwind table.
npx shadcn@latest add @minidev/sortable-header
Loading the source for sortable-header…
Registry Items
sortable-header
Configuration
Name
sortable-header
Type
UI
Description
Sortable table header button that shows an up, down or neutral arrow for the current sort direction and calls onToggle on click. Pairs with any Tailwind table.
Files · 1
Dependencies
npm packages
lucide-react
Registry Items
sortable-header
Configuration
Name
sortable-header
Type
UI
Description
Sortable table header button that shows an up, down or neutral arrow for the current sort direction and calls onToggle on click. Pairs with any Tailwind table.