YYayaw

Documentation

YaYaw Table Documentation

Open-source React data table for Shadcn UI and TanStack Table with URL state, Server Actions, bulk actions, and full code ownership

🚀 Quick Start

Install via the Shadcn registry, then wire config and actions to DataTable: export const MyTable = () = ( tableType="products" getTableConfig=getTableConfig

✅ Benefits

Less boilerplate – Clear, focused API Minimal setup – Sensible defaults Stable – No hydration loops with Next.js Powered by TanStack Table – Great performance

🔧 Features

Grouping Grouping, pagination, and sorting are enabled via table configuration and column types. No heavy wiring needed. Saved views Users can save and restore URL-backed views that include filters, search, sorting, col...

Documentation map

Browse the guides

The public Table documentation is now represented as editable CMS pages under yayaw.app/table.

Installation

Install YaYaw Table, the open-source React data table for Shadcn UI and TanStack Table, via the Shadcn registry

Provider & Setup

Step-by-step setup with a concrete Next.js example

Forms and Collection Fields

Build create/edit forms with native array editors, validation, and nested collection support

DataTable Reference

Props and usage reference for the unified DataTable component

Configuration Options

Table behavior configuration and defaults

Columns Reference

Columns configuration, types, order, and visibility

Actions Provider API

Wire CRUD actions to the table via provider callbacks

Query Integration

Shared QueryClient architecture, invalidation, and refetch behavior

Bulk Actions

Confirmation flow and callback contract for copy, delete, edit, and export

Server-side & Server Actions

Using Server Actions for list, create, update, delete and bulk operations

URL State (Nuqs)

Sort, filters, pagination and column state in the URL with Nuqs

Troubleshooting

Common runtime issues and fixes

Implementation notes

Keep moving through the Table docs

Install YaYaw Table, the open-source React data table for Shadcn UI and TanStack Table, via the Shadcn registry

$ export const MyTable = () => (

$ <DataTable

$ tableType="products"

$ getTableConfig={getTableConfig}

$ getTableActions={getTableActions}