npm install radiant-grid radiant-charts zustand
The simplest way to use the grid is to pass it a raw array of JSON objects. The grid will automatically infer the column types and widths.
import { RadiantGrid } from 'radiant-grid';
import 'radiant-grid/dist/index.css';
const data = [
{ id: 1, name: 'Alice', active: true },
{ id: 2, name: 'Bob', active: false }
];
export function App() {
return (
<div style={{ height: 400 }}>
<RadiantGrid data={data} />
</div>
);
}