Table
A data table whose rows glide to their new places when you sort.
$149 once · every Pro piece
Customize
ready
empty
asc
desc
Sticky mono header, one sliding hover highlight, checkbox selection with Shift-click ranges and a rolling count. Under 560px it becomes stacked label-and-value blocks with a single sort button.
Install
npx shadcn@latest add @obsyde/tableNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { Table } from '@/components/obsyde/ember/table/Table';
export function Example() {
return (
<Table />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/table/Table.tsxcomponentember/table/table.cssstylesember/table/TableDemo.tsxdemoember/shared/chart-kit.tssharedember/shared/spring.tssharedember/shared/accent.tssharedember/shared/rolling-number.csssharedember/shared/RollingNumber.tsxsharedember/display-kit/highlight.tssharedember/display-kit/display-kit.csssharedember/display-kit/motion.tssharedember/shared/ember.cssshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
rowsRows | number | 8 |
seedSeed | number | 7 |
selectableSelectable | boolean | true |
stateState | 'ready' | 'empty' | 'ready' |
sortKeySort by | 'none' | 'name' | 'alpha' | 'beta' | 'gamma' | 'none' |
sortDirSort direction | 'asc' | 'desc' | 'asc' |