Code Example 7 - SDK quickstart in three stepsPro
A vertical three-step quickstart — install, configure, call — each with a numbered rail, short explanation and its own copyable code block. Use it at the top of a docs page or on a developer landing page to get users to a first success fast.
About Code Example 7
A vertical three-step quickstart — install, configure, call — each with a numbered rail, short explanation and its own copyable code block. Use it at the top of a docs page or on a developer landing page to get users to a first success fast.
Code Example 7 is a pro code example block for React, built on shadcn/ui and Tailwind CSS. It ships as 88 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- code
- quickstart
- sdk
- steps
- install
- copy
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/code-example-07Dependencies installed automatically: lucide-react.
Uses: button, reveal, utils.
Usage
import CodeExample07 from "@/components/blocks/code-example-07"
export default function Page() {
return <CodeExample07 />
}