Skip to content

CodeIcon

const CodeIcon: 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/CodeIcon.tsx:28

Code icon component for code and development actions.

A standard code brackets icon commonly used for code editing, development tools, and programming features in editor interfaces.

Example

// Basic usage
<CodeIcon />
// With custom size and color
<CodeIcon size="md" color="accent" />
// In a code context
<Button icon={<CodeIcon />}>View Code</Button>