Code Example 1 - Tabbed database query examples in multiple languages
- from @shadcnblocks
This component serves as a versatile code example block that allows users to explore and copy multi-language database query examples, such as JavaScript, Python, Go, and Ruby, with integration for ORMs and raw SQL. It features tabbed navigation to switch between languages, a copy button for ease of use, and displays relevant file names for each example.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcnblocks/code-example1Registry dependencies0
The CLI adds no other registry items with this one.
Packages0
No npm packages are installed with it.
