# @mantine/code-highlight

> Code highlight with Mantine theme

Latest version **9.8.0** (published 2026-11-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mantine/code-highlight
pnpm add @mantine/code-highlight
yarn add @mantine/code-highlight
bun add @mantine/code-highlight
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 9.8.0 |
| Published | 2026-11-09 |
| First published | 2023-05-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 31942 |
| Author | Vitaly Rtishchev |
| Maintainers | rtivital |
| Keywords | code, components, frontend, highlight, library, next, nextjs, react, syntax, syntax-highlight, ui, ui-kit |

## Links

- npm: https://www.npmjs.com/package/@mantine/code-highlight
- Repository: https://github.com/mantinedev/mantine
- Homepage: https://mantine.dev/code-highlight/code-highlight/
- Issues: https://github.com/mantinedev/mantine/issues
- npm.io page: https://npm.io/package/@mantine/code-highlight

## Alternatives

- [@oh-my-pi/pi-natives](https://npm.io/package/@oh-my-pi/pi-natives.md) — 51.8K weekly downloads
- [@capgo/capacitor-light-sensor](https://npm.io/package/@capgo/capacitor-light-sensor.md) — 3.0K weekly downloads
- [@heyhuynhgiabuu/pi-diff](https://npm.io/package/@heyhuynhgiabuu/pi-diff.md) — 492 weekly downloads
- [@lotsa/verdant-lang-asm](https://npm.io/package/@lotsa/verdant-lang-asm.md) — 38 weekly downloads
- [new-era-syntax](https://npm.io/package/new-era-syntax.md) — 20 weekly downloads

## Recent versions

- 9.8.0 (latest) — 2026-11-09
- 9.5.1-alpha.1 (next) — 2026-07-30
- 7.17.8 (legacy) — 2025-06-02
- 9.7.5 — 2026-11-04
- 9.7.4 — 2026-10-25
- 9.7.3 — 2026-10-17
- 9.7.2 — 2026-10-11
- 9.7.1 — 2026-10-06
- 9.7.0 — 2026-10-05
- 9.6.3 — 2026-09-26
- 9.6.2 — 2026-09-21
- 9.6.1 — 2026-09-09
- 9.6.0 — 2026-08-31
- 9.5.2 — 2026-08-22
- 9.5.1 — 2026-08-02
- … 178 more at https://npm.io/package/@mantine/code-highlight/versions

## README

# Mantine code highlight

[![npm](https://img.shields.io/npm/dm/@mantine/code-highlight)](https://www.npmjs.com/package/@mantine/code-highlight)

Code highlight built with highlight.js and Mantine

[View documentation](https://mantine.dev/)

## Installation

```bash
# With yarn
yarn add @mantine/hooks @mantine/core @mantine/code-highlight

# With npm
npm install @mantine/hooks @mantine/core @mantine/code-highlight
```

## License

MIT

---
_Source: https://npm.io/package/@mantine/code-highlight · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
