Skip to content

SortableHeader

stable

Sortable column header with direction indicator for data tables

FinanceInteractive/Storybook ↗
import { SortableHeader } from "@nodus/design-system/finance"
Loading demo…

Props

labelrequired
Type stringDefault

Column header label

direction
Type "asc" | "desc" | "none"Default

Current sort direction

onSort
Type () => voidDefault

Called when header is clicked to toggle sort

align
Type "left" | "right" | "center"Default "left"

Column alignment

density
Type "default" | "compact"Default

Display density

Metadatasemantictypemotion
MobileTouch Target

Sort toggle tap area must be ≥44px — extend beyond the visible icon. On mobile, consider moving sort controls to a filter sheet.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?