Themes

7 themes. Light and dark. Three densities.

Every theme is one CSS file and a className, in a light and a dark mode, and the density classNames scale any of them. The grids below are live: scroll, sort, select.

Mode
Density

Terminal

Docs →

For dense, data-heavy screens like trading desks: a monospace font with tabular numbers, compact rows, hairline dividers and green / red flashing.

import '@infinite-table/infinite-react/index.css';
import '@infinite-table/infinite-react/theme/terminal.css';

<div className="infinite-theme-name--terminal infinite-theme-mode--dark infinite-density--comfortable">
  <InfiniteTable />
</div>

Looks like a spreadsheet: full gridlines, sharp corners, a thick active cell border with a fill handle, spreadsheet-style headers.

import '@infinite-table/infinite-react/index.css';
import '@infinite-table/infinite-react/theme/sheet.css';

<div className="infinite-theme-name--sheet infinite-theme-mode--dark infinite-density--comfortable">
  <InfiniteTable />
</div>

Borderless and airy: hairline row separators, a subtle hover, selected rows as rounded pills, and its own rounded icons.

import '@infinite-table/infinite-react/index.css';
import '@infinite-table/infinite-react/theme/paper.css';

<div className="infinite-theme-name--paper infinite-theme-mode--dark infinite-density--comfortable">
  <InfiniteTable />
</div>

Default

Docs →

The theme in index.css, used when you pick none: neutral greys, cell borders and a blue accent.

import '@infinite-table/infinite-react/index.css';

<div className="infinite-theme-mode--dark infinite-density--comfortable">
  <InfiniteTable />
</div>

Minimalist

Docs →

Keeps the UI simple and clean: no header borders and only light separators between rows.

import '@infinite-table/infinite-react/index.css';
import '@infinite-table/infinite-react/theme/minimalist.css';

<div className="infinite-theme-name--minimalist infinite-theme-mode--dark infinite-density--comfortable">
  <InfiniteTable />
</div>

Ocean

Blues all the way: a sky-blue header on a pale blue body in light mode, deep navy in dark, with a violet accent.

import '@infinite-table/infinite-react/index.css';
import '@infinite-table/infinite-react/theme/ocean.css';

<div className="infinite-theme-name--ocean infinite-theme-mode--dark infinite-density--comfortable">
  <InfiniteTable />
</div>

Balsam

Quiet greys and soft borders, on white in light mode and on charcoal in dark.

import '@infinite-table/infinite-react/index.css';
import '@infinite-table/infinite-react/theme/balsam.css';

<div className="infinite-theme-name--balsam infinite-theme-mode--dark infinite-density--comfortable">
  <InfiniteTable />
</div>
CSS / Make it yoursAll CSS variables →

Every value is a CSS variable.

Start from any theme and override what you need: colors, row height, paddings, fonts, borders and icons. Scope the variables to a className to theme one grid, or set them on :root for all of them.

styles.css
.my-grid {
  --infinite-accent-color: #1d5cff;
  --infinite-background: #fcfcfd;
  --infinite-header-background: #f3f5f8;
  --infinite-row-height: 32px;
  --infinite-font-family: 'IBM Plex Sans', sans-serif;
}