OdysseyUI

Code Tabs

A tabs component that displays code for different languages.

Made by imskyleen

Installation

Usage

<CodeTabs codes={codes} />

API Reference

CodeTabs

Odyssey UI API Reference - Tabs Primitive
PropTypeDefault
codes
Record<string, string>
-
lang?
string
bash
themes?
Record<string, string>
{ light: 'github-light', dark: 'github-dark' }
copyButton?
boolean
true
onCopiedChange?
(copied: boolean, content?: string) => void
-

Built by Shr3kx & iam-sahil. The source code is available on GitHub.

Last updated: 3/4/2026