A Reflex library for displaying code blocks with syntax highlighting, line numbers, and copy-to-clipboard functionality. Version 0.9.2, updated infrequently.
pip install reflex-components-codeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal Reflex app that displays a code block using the Code component.
Pass code as a plain string: code='your code here'
Use only 'dark' or 'light' as of v0.9.2. Check docs for updated list.
Pin reflex to version 0.4.0 or earlier if using rx.App and add_page. Use the library with caution on newer Reflex versions.
No resource links recorded.