Beta
Animate UI

Code Tabs

A tabs component that displays code for different languages.

Made by imskyleen

The InstallTabs component has been updated and is now called CodeTabs. It can now be used to make both install tabs and code tabs!

Installation

Usage

<CodeTabs codes={codes} />

Examples

Install Tabs

Props

PropTypeDefault
onCopy?
(content: string) => void
-
copyButton?
boolean
true
themes?
Record<string, string>
{ light: 'github-light', dark: 'github-dark' }
lang?
string
bash
codes
Record<string, string>
-

Built by Skyleen. The source code is available on GitHub.

On this page