Snippet Standard 1 - Single tab

Pro

Snippet with one tab showing a package install command in a code block.

Shadcn Snippet Standard 1 component

Component data

ID
snippet/snippet-standard-1
Access
pro
Created
May 23, 2026
Type
example
Libraries
Radix UI, Base UI, React Aria

Snippet Standard 1 component design & features

This example uses the Kibo UI Snippet component with a single tab displaying an npm install command. SnippetHeader holds the tab trigger and SnippetTabsContent renders the code in a preformatted block.

Single-tab snippets suit documentation pages and setup guides where only one command variant needs to be shown without switching between options.