• Components
  • Palettes
Components
UI
Code

Code

Display code snippets with syntax highlighting, tabs, and interactive features

Code Block

A syntax highlighted code block with line numbers and expandable view for longer snippets.

Code Block Select

A component that allows users to switch between different code snippets.

Code Block Sidebar

A code block component with language selection in a vertical sidebar, ideal for displaying multiple backend language examples.

Code Block Tabs

A companion for CodeBlockSelect that renders a tab strip instead of a dropdown for switching between code snippets.

Code Icons

Language icons for code blocks and code switchers.

Code Diff Unified

Unified diff viewer with dual line numbers, +/- signs, and green/red backgrounds that match the clean Lantern code-block styling.

Code Diff Split

Side-by-side split diff viewer with dual line numbers and per-side +/- indicators, matching Lantern code-block styling.

DocumentationComponentsExamplesGitHub
Privacy PolicyTerms of Service

© 2025 Lantern Systems, Inc.