export const title = "Code snippet components" export const description = "Powerful and customizable React code snippet components built for modern applications and websites. These code snippets are built using Shiki and styled with Tailwind CSS." export const links = { shiki: "https://shiki.matsu.io/", } import * as Demos from "@/components/application/code-snippet/code-snippet.story.tsx"; ## Installation You can add this code snippet component using our CLI or manually: ```bash npx untitledui@latest add code-snippet ``` As our code snippet component is built with [Shiki](https://shiki.matsu.io/), you'll need to install the dependencies: ```bash npm install shiki @shikijs/transformers ``` Copy the files below into your project: Great! Now you can start using the code snippet components in your project by just copy/pasting our examples below. ## Code snippet examples Below are examples and variations of this code snippet component: ### With line number {{ tocOnly:true }} ### Without line number {{ tocOnly:true }} ### Show more {{ tocOnly:true }} ### With tabs {{ tocOnly:true }}