Code Preview

Stable

A docs utility that wraps any content in a Preview / Code tab pair. Includes syntax highlighting for JSX/TSX and a one-click copy button.

Usage

Default (row flex)
Column layout (col)
3-column grid (g3)
XSMDLG
No code (preview only)