Animate UI

Code Tabs

A tabs component that displays code for different languages.

Made by imskyleen
Edit on GitHub

Installation

Usage

<CodeTabs codes={codes} />

API Reference

CodeTabs

Animate 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 Skyleen. The source code is available on GitHub.