Snippet
Snippet is a component that allows you to display and copy code in a tabbed interface.
Installation
npx shadcn-svelte@latest add http://adv76.github.io/kibo-svelte/r/snippet.json
Features
- Copy code to clipboard
- Customize the tab contents
- Multiple tabs support
- Customizable copy button, tab triggers and tab content
- Customizable copy button timeout and callbacks
- Accessible tabs using Radix's
Tabsprimitive