Skip to main content

Overview

The CodeSnippet component displays code with syntax highlighting and copy functionality.

Basic Usage

Different Languages

JavaScript

Python

CSS

With Line Numbers

Props

Examples

API Response

Installation Instructions

React Component Example