Gradient cell fills
Linear and radial gradient fills on individual cells — round-trips XLSX and renders on canvas
Authoring
const cellData: CellData = {
ue: { sv: "Header" },
fv: "Header",
uf: {
gradient: {
type: "linear",
degree: 90, // 0 = left→right, 90 = top→bottom, 180 = right→left, 270 = bottom→top
stops: [
{ position: 0, color: "#fde68a" },
{ position: 1, color: "#dc2626" },
],
},
},
};Path / radial gradients
Three-stop ramps
Precedence over solid + pattern fills
XLSX round-trip
OOXML
Field
Canvas rendering
Storybook example
Last updated