@semantic-components/code
v0.75.0
Published
Code editor and code viewer components built on top of Shiki for the Semantic Components library.
Downloads
1,172
Readme
@semantic-components/code
Code editor and code viewer components built on top of Shiki for the Semantic Components library.
Contents
- Components: Code editor (with header, footer, content, copy button, label) and Code viewer (with header, content, label)
- Styles: Shiki syntax highlighting styles (light/dark themes, line numbers)
Usage
import { ScCodeEditor, ScCodeEditorContent } from '@semantic-components/code';
import { ScCodeViewer, ScCodeViewerContent } from '@semantic-components/code';