Skip to content

DataTable for an admin view

The full grid of an admin panel on 2,000 posts: search, faceted filters with chips, sort by several columns (Shift with a click adds the next key), columns to hide, reorder and resize, two densities, selection with bulk actions, a menu on every row, thumbnails and badges, pages with a page size, CSV export of the view, and the view kept in the address. Switch the source to a server to see paging and a skeleton while the next page loads, and choose All rows to render only the rows in view.

  • DataTable

PreviewLink to the section Preview

Live in all three themes. Everything here is interactive.

Light theme, DataTable for an admin view

PictureTitleAuthorSectionStatusWordsViewsUpdatedActions
Migration plan: the mobile app #10001Małgorzata ŚlęzakProductScheduled1,7073578/16/2026
Team update: the media library #10002Alan TuringGuidesDraft582011/20/2025
Case study: dark mode #10003Małgorzata ŚlęzakNewsArchived2,36837,2179/29/2026
Weekly digest: the editor #10004Łukasz ŻółkiewskiCommunityDraft1,03204/22/2026
Migration plan: keyboard paths #10005Hedy LamarrCommunityPublished2,4949,2285/27/2026
Field guide: exports #10006Ada LovelaceGuidesArchived3696,9318/10/2026
Migration plan: the media library #10007Małgorzata ŚlęzakProductDraft1,974010/10/2026
Release notes: the mobile app #10008Grace HopperCommunityDraft89805/30/2026
Release notes: search #10009Łukasz ŻółkiewskiCommunityPublished1,4446,4693/8/2026
Release notes: exports #10010Małgorzata ŚlęzakNewsDraft2,14104/17/2026
Weekly digest: dark mode #10011Grace HopperNewsArchived1,1897,50210/15/2025
Migration plan: the editor #10012Łukasz ŻółkiewskiProductArchived6363,8302/20/2026
Case study: the media library #10013Alan TuringNewsDraft1,534010/18/2026
Design review: the media library #10014Ada LovelaceNewsArchived1,75320,44811/3/2026
Team update: keyboard paths #10015Łukasz ŻółkiewskiGuidesArchived1,6932,44110/8/2026
Team update: the media library #10016Hedy LamarrGuidesDraft2,209011/25/2025
Release notes: keyboard paths #10017Hedy LamarrNewsDraft2,362011/4/2025
Release notes: search #10018Zofia KowalczykNewsPublished2,3777068/27/2026
Release notes: exports #10019Małgorzata ŚlęzakNewsDraft2,19508/29/2026
Design review: dark mode #10020Zofia KowalczykProductArchived2,24713,2217/13/2026
Case study: the mobile app #10021Ada LovelaceNewsScheduled2,70415,31211/21/2025
Case study: exports #10022Zofia KowalczykGuidesArchived39815,3973/14/2026
Weekly digest: the media library #10023Małgorzata ŚlęzakProductArchived1,1291,31111/7/2026
Weekly digest: the editor #10024Hedy LamarrNewsPublished7712612/12/2025
Design review: dark mode #10025Zofia KowalczykProductScheduled2,52713,07711/12/2026
1–25 of 2,000

Dark theme, DataTable for an admin view

PictureTitleAuthorSectionStatusWordsViewsUpdatedActions
Migration plan: the mobile app #10001Małgorzata ŚlęzakProductScheduled1,7073578/16/2026
Team update: the media library #10002Alan TuringGuidesDraft582011/20/2025
Case study: dark mode #10003Małgorzata ŚlęzakNewsArchived2,36837,2179/29/2026
Weekly digest: the editor #10004Łukasz ŻółkiewskiCommunityDraft1,03204/22/2026
Migration plan: keyboard paths #10005Hedy LamarrCommunityPublished2,4949,2285/27/2026
Field guide: exports #10006Ada LovelaceGuidesArchived3696,9318/10/2026
Migration plan: the media library #10007Małgorzata ŚlęzakProductDraft1,974010/10/2026
Release notes: the mobile app #10008Grace HopperCommunityDraft89805/30/2026
Release notes: search #10009Łukasz ŻółkiewskiCommunityPublished1,4446,4693/8/2026
Release notes: exports #10010Małgorzata ŚlęzakNewsDraft2,14104/17/2026
Weekly digest: dark mode #10011Grace HopperNewsArchived1,1897,50210/15/2025
Migration plan: the editor #10012Łukasz ŻółkiewskiProductArchived6363,8302/20/2026
Case study: the media library #10013Alan TuringNewsDraft1,534010/18/2026
Design review: the media library #10014Ada LovelaceNewsArchived1,75320,44811/3/2026
Team update: keyboard paths #10015Łukasz ŻółkiewskiGuidesArchived1,6932,44110/8/2026
Team update: the media library #10016Hedy LamarrGuidesDraft2,209011/25/2025
Release notes: keyboard paths #10017Hedy LamarrNewsDraft2,362011/4/2025
Release notes: search #10018Zofia KowalczykNewsPublished2,3777068/27/2026
Release notes: exports #10019Małgorzata ŚlęzakNewsDraft2,19508/29/2026
Design review: dark mode #10020Zofia KowalczykProductArchived2,24713,2217/13/2026
Case study: the mobile app #10021Ada LovelaceNewsScheduled2,70415,31211/21/2025
Case study: exports #10022Zofia KowalczykGuidesArchived39815,3973/14/2026
Weekly digest: the media library #10023Małgorzata ŚlęzakProductArchived1,1291,31111/7/2026
Weekly digest: the editor #10024Hedy LamarrNewsPublished7712612/12/2025
Design review: dark mode #10025Zofia KowalczykProductScheduled2,52713,07711/12/2026
1–25 of 2,000

High contrast theme, DataTable for an admin view

PictureTitleAuthorSectionStatusWordsViewsUpdatedActions
Migration plan: the mobile app #10001Małgorzata ŚlęzakProductScheduled1,7073578/16/2026
Team update: the media library #10002Alan TuringGuidesDraft582011/20/2025
Case study: dark mode #10003Małgorzata ŚlęzakNewsArchived2,36837,2179/29/2026
Weekly digest: the editor #10004Łukasz ŻółkiewskiCommunityDraft1,03204/22/2026
Migration plan: keyboard paths #10005Hedy LamarrCommunityPublished2,4949,2285/27/2026
Field guide: exports #10006Ada LovelaceGuidesArchived3696,9318/10/2026
Migration plan: the media library #10007Małgorzata ŚlęzakProductDraft1,974010/10/2026
Release notes: the mobile app #10008Grace HopperCommunityDraft89805/30/2026
Release notes: search #10009Łukasz ŻółkiewskiCommunityPublished1,4446,4693/8/2026
Release notes: exports #10010Małgorzata ŚlęzakNewsDraft2,14104/17/2026
Weekly digest: dark mode #10011Grace HopperNewsArchived1,1897,50210/15/2025
Migration plan: the editor #10012Łukasz ŻółkiewskiProductArchived6363,8302/20/2026
Case study: the media library #10013Alan TuringNewsDraft1,534010/18/2026
Design review: the media library #10014Ada LovelaceNewsArchived1,75320,44811/3/2026
Team update: keyboard paths #10015Łukasz ŻółkiewskiGuidesArchived1,6932,44110/8/2026
Team update: the media library #10016Hedy LamarrGuidesDraft2,209011/25/2025
Release notes: keyboard paths #10017Hedy LamarrNewsDraft2,362011/4/2025
Release notes: search #10018Zofia KowalczykNewsPublished2,3777068/27/2026
Release notes: exports #10019Małgorzata ŚlęzakNewsDraft2,19508/29/2026
Design review: dark mode #10020Zofia KowalczykProductArchived2,24713,2217/13/2026
Case study: the mobile app #10021Ada LovelaceNewsScheduled2,70415,31211/21/2025
Case study: exports #10022Zofia KowalczykGuidesArchived39815,3973/14/2026
Weekly digest: the media library #10023Małgorzata ŚlęzakProductArchived1,1291,31111/7/2026
Weekly digest: the editor #10024Hedy LamarrNewsPublished7712612/12/2025
Design review: dark mode #10025Zofia KowalczykProductScheduled2,52713,07711/12/2026
1–25 of 2,000

UsageLink to the section Usage

tsx
import { DataTable } from '@skribly/ui/data'
tsx
const url = useTableUrlState({ prefix: 'posts.' })
<DataTable aria-label="Posts" columns={columns} items={posts} rowKey={(p) => p.id}
  labels={labels} {...url} pageSizes={[25, 50, 100]} resizable
  selectionMode="multiple" bulkActions={(rows) => <Button size="sm">Publish</Button>}
  rowActions={(post) => [{ id: 'open', label: 'Open', onAction: () => open(post) }]}
  isLoading={isLoading} loadingLabel="Loading posts" error={error} emptyState={empty} />
// Server data: manual total={page.total} items={page.rows}, and fetch with url.state.

Every label is a prop, so the app passes its own words in its own language. See no built-in text.

AccessibilityLink to the section Accessibility

  • One tab stop enters the grid; arrow keys move between cells, Home and End along a row, Space selects a row, and typing jumps to a row.
  • A header sorts on Enter or a click and only the main sort key carries aria-sort; further keys show their position and say it in words.
  • Column edges are separators the arrow keys resize.
  • The toolbar fields and menus are named, the filter chips each have a remove button, and the count of matching rows is read politely after a search.
  • The row header column and the header stay in view while the box scrolls.
  • Loading is a status, an error an alert with its retry button, and every state is said in words.

This demo runs through axe in all three themes on every test run. See what the tests check.

Search this site

Arrows move through the results, Enter opens one, Esc closes. Ctrl K /