bxp-code v1.0.0
Current Release
version: 1.0.0
Title
bxp-code v1.0.0
Description
bxp-code v1.0.0 — drop-in React code blocks with Shiki highlighting, Prettier formatting, and zero config.
Highlights
- Two components
<BxpCode>— single code block with header, copy button, line numbers, Shiki highlighting, and Prettier formatting.<BxpCodeTabs>— tabbed code blocks for multi-snippet examples (languages, package managers, etc.)
- VS Code-accurate highlighting (TextMate grammars via Shiki)
- Prettier formatting on render for supported languages
- Zero-config defaults with full customization via props
- Sticky headers designed to work in scroll containers
Links
- Docs: https://saqibbedar.github.io/bxp-code/
- Playground: https://saqibbedar.github.io/bxp-code/playground/
- GitHub Releases: https://github.com/saqibbedar/bxp-code/releases