@sps-woodland/matrix
v8.53.11
Published
SPS Woodland Design System Matrix component
Keywords
Readme
@sps-woodland/matrix
SPS Woodland Design System Matrix component.
Preferred imports (core, tree-shakes per component)
import { Matrix } from "@sps-woodland/core/matrix";
import { MatrixHead } from "@sps-woodland/core/matrix-head";
import { MatrixHeader } from "@sps-woodland/core/matrix-header";
import { MatrixBody } from "@sps-woodland/core/matrix-body";
import { MatrixRow } from "@sps-woodland/core/matrix-row";
import { MatrixCell } from "@sps-woodland/core/matrix-cell";
import "@sps-woodland/core/matrix/style.css";Matrix is only reachable via the family barrel (@sps-woodland/core/matrix) because the family name and the component name collide. MatrixHead, MatrixHeader, MatrixBody, MatrixRow, and MatrixCell are also available from the same barrel if you prefer one import.
Legacy wrapper (still supported, re-exports from @sps-woodland/core)
import { Matrix, MatrixHead, MatrixHeader, MatrixBody, MatrixRow, MatrixCell } from "@sps-woodland/matrix";
import "@sps-woodland/matrix/style.css";