
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Enterprise-Grade Data Management. Minimalist Aesthetics.
LuxTable is a high-performance, feature-rich data grid library designed specifically for the modern React ecosystem. It bridges the gap between complex data manipulation and the clean, modular philosophy of Shadcn UI. Built for developers who refuse to choose between power and beauty.
LuxTable uses the shadcn registry approach - components are copied directly into your project, giving you full control over the code.
Make sure you have shadcn/ui set up in your project:
pnpm dlx shadcn@latest init
# Install the main LuxTable component
pnpm dlx shadcn@latest add "https://luxtable.dev/r/lux-table.json"
# Optional: Install pre-built cell renderers
pnpm dlx shadcn@latest add "https://luxtable.dev/r/lux-table-cell-renderers.json"
# Optional: Install column helper utilities
pnpm dlx shadcn@latest add "https://luxtable.dev/r/lux-table-column-helper.json"
This will:
components/lux-table folder@tanstack/react-table, lucide-react)If you prefer using LuxTable as an npm package:
npm install luxtable
# or
pnpm add luxtable
# or
yarn add luxtable
Note: When using the npm package, you need to configure your
tailwind.config.jsto include LuxTable:module.exports = { content: [ "./src/**/*.{js,ts,jsx,tsx}", "./node_modules/luxtable/dist/**/*.{js,mjs}", ], };
LuxTable can automatically generate columns from your data - no column definitions needed!
import { LuxTable } from "luxtable";
type User = {
id: number;
name: string;
email: string;
status: "active" | "inactive" | "pending";
joinDate: string;
salary: number;
};
const data: User[] = [
{ id: 1, name: "John Doe", email: "john@example.com", status: "active", joinDate: "2024-01-15", salary: 75000 },
{ id: 2, name: "Jane Smith", email: "jane@example.com", status: "active", joinDate: "2024-02-20", salary: 65000 },
// ... more data
];
export default function App() {
return (
<LuxTable
data={data}
options={{
pagination: true,
filtering: true,
sorting: true,
multiSort: true, // Shift+Click to sort by multiple columns
selection: "multiple",
showToolbar: true,
showGlobalSearch: true,
showColumnVisibility: true,
}}
/>
);
}
What happens automatically:
status → StatusCell (colored badges)joinDate, createdAt → DateCell (formatted dates)salary, price → CurrencyCell (formatted currency)id, email → CopyableCell (click to copy)You can also define columns manually for full control:
import { LuxTable, createColumnHelper } from "luxtable";
import { ColumnDef } from "@tanstack/react-table";
type User = {
id: number;
name: string;
email: string;
status: "active" | "inactive";
};
const columnHelper = createColumnHelper<User>();
const columns: ColumnDef<User>[] = [
columnHelper.accessor("id", {
header: "ID",
size: 80,
}),
columnHelper.accessor("name", {
header: "Name",
}),
columnHelper.accessor("email", {
header: "Email",
}),
columnHelper.accessor("status", {
header: "Status",
}),
];
const data: User[] = [
{ id: 1, name: "John Doe", email: "john@example.com", status: "active" },
{ id: 2, name: "Jane Smith", email: "jane@example.com", status: "inactive" },
];
export default function App() {
return (
<LuxTable
data={data}
columns={columns}
options={{
pagination: true,
filtering: true,
selection: "multiple",
showToolbar: true,
}}
/>
);
}
LuxTable comes with built-in cell renderers that are automatically applied based on field names and values. You can also use them manually:
Cell renderers are automatically applied based on field names:
// These fields are auto-detected and rendered:
{
status: "active", // → StatusCell (colored badge)
joinDate: "2024-01-15", // → DateCell (formatted date)
salary: 75000, // → CurrencyCell (formatted currency)
isActive: true, // → BooleanCell (Yes/No)
id: "123", // → CopyableCell (click to copy)
}
You can also use cell renderers manually in column definitions:
import { StatusCell, ProgressCell, DateCell, CopyableCell, CurrencyCell, BooleanCell } from "luxtable";
const columns = [
{
accessorKey: "status",
header: "Status",
cell: ({ row }) => <StatusCell value={row.getValue("status")} />,
},
{
accessorKey: "progress",
header: "Progress",
cell: ({ row }) => <ProgressCell value={row.getValue("progress")} />,
},
{
accessorKey: "createdAt",
header: "Created",
cell: ({ row }) => <DateCell value={row.getValue("createdAt")} format="long" />,
},
{
accessorKey: "salary",
header: "Salary",
cell: ({ row }) => <CurrencyCell value={row.getValue("salary")} currency="USD" />,
},
{
accessorKey: "isActive",
header: "Active",
cell: ({ row }) => <BooleanCell value={row.getValue("isActive")} />,
},
{
accessorKey: "id",
header: "ID",
cell: ({ row }) => <CopyableCell value={String(row.getValue("id"))} />,
},
];
You can customize auto-detection behavior using cellConfig:
<LuxTable
data={data}
cellConfig={{
// Custom field configurations
fields: {
customStatus: { type: "status" },
customDate: { type: "date", format: "long" },
},
// Custom auto-detection patterns
patterns: {
status: ["status", "state", "customStatus"],
date: ["date", "createdAt", "customDate"],
},
// Default status colors
defaultStatusColors: {
active: { bg: "bg-green-100", text: "text-green-800" },
pending: { bg: "bg-yellow-100", text: "text-yellow-800" },
},
}}
/>
| Option | Type | Default | Description |
|---|---|---|---|
pagination | boolean | false | Enable/disable pagination |
pageSize | number | 10 | Default rows per page |
sorting | boolean | true | Enable/disable column sorting |
multiSort | boolean | true | Enable multi-column sorting (Shift+Click) |
maxMultiSortColCount | number | undefined | Maximum columns for multi-sort (unlimited by default) |
filtering | boolean | false | Enable column-level filtering |
selection | "single" | "multiple" | "none" | "none" | Row selection mode |
showSelectionCheckbox | boolean | true | Show selection checkbox (when selection is enabled) |
showToolbar | boolean | false | Show toolbar with search and column visibility |
showGlobalSearch | boolean | true | Show global search in toolbar |
showColumnVisibility | boolean | true | Show column visibility controls |
| Prop | Type | Description |
|---|---|---|
data | TData[] | Table data (required) |
columns | ColumnDef<TData>[] | Column definitions (optional - auto-generated if not provided) |
options | LuxTableOptions | Table options (see above) |
cellConfig | GlobalCellConfig | Custom cell configuration for auto-detection |
sorting | SortingState | Controlled sorting state |
onSortingChange | (sorting: SortingState) => void | Called when sorting changes |
rowSelection | RowSelectionState | Controlled row selection state |
onRowSelectionChange | (selection: RowSelectionState) => void | Called when row selection changes |
onSelectedRowsChange | (rows: TData[]) => void | Called when selected rows change (with row data) |
getRowId | (row: TData, index: number) => string | Custom row ID function (default: uses "id" field or index) |
className | string | Additional CSS classes |
Most data grids are either too lightweight for complex tasks or too bloated with legacy styles. LuxTable is built from the ground up to be headless-first but styled-ready. It provides the engine you need for heavy data work, wrapped in the minimalist aesthetic that modern users expect.
By using the shadcn registry approach instead of a traditional npm package:
MIT © LuxTable
FAQs
Enterprise-Grade Data Management. Minimalist Aesthetics.
The npm package luxtable receives a total of 2 weekly downloads. As such, luxtable popularity was classified as not popular.
We found that luxtable demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.