Expandable Data Row
A polished table component with fluid accordion row unfolding, revealing deep metadata, audit activity feeds, and quick actions, with automatic card restructuring on mobile viewports.
Loading preview…
Installation
Add the component directly to your repository using shadcn CLI:
npx shadcn@latest add Surajmaurya1/easyui/expandable-data-row
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| items | DataRowItem[] | [...] | Data records with user, status, revenue, and metadata |
| allowMultiple | boolean | false | Permit multiple expanded rows concurrently |
| defaultExpandedIds | string[] | ['usr_01'] | Initially expanded row identifiers |
| isLoading | boolean | false | Displays pulse skeleton loaders during data fetch |
| onRowAction | (action: string, row: DataRowItem) => void | undefined | Callback fired on row action buttons |