Skip to content

Function: SvgTileLayout() ​

ts
function SvgTileLayout(props): Element;

Renders a tiling as a single <svg>: colored cells, optionally with images clipped to each cell. Use this when you need pure SVG (export, print, embedding in other SVG); use <TileLayout> to put arbitrary HTML/React content in the tiles.

Parameters ​

ParameterType
propsSvgTileLayoutProps

Returns ​

Element

Hat tiling and isohedral tilings after Craig S. Kaplan's hatviz and Tactile (BSD 3-Clause).