---
title: Code Editor
description: A code editor component featuring syntax highlighting and animation.
author:
name: imskyleen
url: https://github.com/imskyleen
---
## Installation
## Usage
```tsx
{`const a = 1;
const b = 2;
const c = a + b;`}
```
## Props
void',
required: false,
},
onCopy: {
description: 'The function to call when copy is successful.',
type: '(content: string) => void',
required: false,
},
}}
/>