Code Snippet Deck
Code Snippet Deck: An interactive multi-runtime developer code snippet deck with runtime switching (cURL, TypeScript, Python, Go, Rust), live dynamic parameter customizations, and line highlighting. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Code Snippet Deck
npx motion-ui-skill add code-snippet-deckComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactmotionreacttailwind-merge
Source files
Code Snippet Deck
An interactive multi-runtime developer code snippet deck with runtime switching (cURL, TypeScript, Python, Go, Rust), live dynamic parameter customizations, and line highlighting.
Install
npx motion-ui-skill add code-snippet-deck
Dependencies
clsxlucide-reactmotionreacttailwind-merge
Usage
"use client";
import { CodeSnippetDeck as CodeSnippetDeck } from "@/components/craft/code-snippet-deck";
export function Example() {
return (
<div className="p-6">
<CodeSnippetDeck />
</div>
);
}