@a5it/sync-ui
v0.1.24
Published
Shared UI components for A5 apps.
Readme
@a5it/sync-ui
This initial version exports data-table (the V2 table used in reseller/new-table) and keeps future extension points for sidebar, hooks, providers, utils, and types.
Install
pnpm add @a5it/sync-uiUsage
import {
DataTableProvider,
DataTableTable,
DataTableSearch,
DataTableSortBy,
DataTablePagination,
} from "@a5it/sync-ui";Styles
Import once in your app's root globals/index.css:
import "@a5it/sync-ui/styles.css";Theming
Set your app theme once and SyncUI will inherit it automatically using shadcn conventions.
Tree shaking
- ESM output only (
dist/*.js), no CommonJS wrapper. - Subpath exports (
./data-table,./hooks,./providers, etc.). - CSS is the only declared side effect.
Build
pnpm build