Skip to content

GridIcon

const GridIcon: NamedExoticComponent<Omit<{ children: ReactNode; className?: string; color?: IconColor; decorative?: boolean; ref?: Ref<SVGSVGElement>; size?: IconSize; testId?: string; title?: string; }, "children">>

Defined in: src/components/Icons/GridIcon.tsx:27

Grid icon component for grid view and layout actions.

A standard grid icon commonly used for switching to grid view, layout options, and organizing content in editor interfaces.

Example

// Basic usage
<GridIcon />
// With custom size and color
<GridIcon size="md" color="primary" />
// In a view toggle
<Button icon={<GridIcon />}>Grid View</Button>