Periodic Table

Periodic table

Multi-value Heatmap

The periodic table supports multiple values per element with different visual layouts:

2-fold Split (Diagonal)

Each element shows two values as diagonal triangles: top-left = atomic mass, bottom-right = density.

Multi-value heatmap

4-fold Split

Each element shows four values as quadrants: top-left = atomic radius, top-right = electronegativity * 100, bottom-left = covalent radius, bottom-right = |electron affinity|.

4-fold Split

Missing Color Demo

The missing prop ({ color, label, style }) styles tiles with no heatmap value. color takes any CSS color or 'element-category' (default: category colors for a plain table, gray for a heatmap); label and style further decorate missing tiles (e.g. style="opacity: 0.4" to dim them). Note 0 is a real value mapped through the color scale. Only absent / null entries count as missing.

Missing Color Demo

Active Elements Border Styling

Customize active element borders with CSS custom property --elem-tile-active-border.

Active Elements Border Styling

Auto-Scaling Color Bar

Unless color_bar is null or a custom inset is provided, the periodic table automatically displays a color bar that scales with the table size. The color bar font and bar width adapt to container width using container queries.

Atomic Mass with auto color bar

Density with auto color bar

Boiling Point with auto color bar

2×2 Grid Layout

Atomic Mass in 2×2 grid

Density in 2×2 grid

Melting Point in 2×2 grid

Boiling Point in 2×2 grid

Props of PeriodicTable