Code Tabs
A tabs component that displays code for different languages/CLI commands.
Made by imskyleenPowered by
Loading component...
Installation
Usage
<CodeTabs variant="default" codes={codes} />If you want to toggle between light and dark themes, you can use the theme prop.
<CodeTabs variant="default" codes={codes} theme="dark" />When to use
Use this decision tree to determine when to use the Code Tabs component:
Examples
Install Tabs
Loading component...
Props
Prop
Type
Credits
- We use Radix UI for the tabs component.
- We take our inspiration from Shadcn UI for the tabs style.
- We use Animate UI from imskyleen for all the animations.
Built by malinskibeniamin. The source code is available on GitHub.