V0 Button - React Component | Kokonut UI

V0 Button

Open in v0 button that sends a component registry JSON to v0.dev for instant editing, built with React, the shadcn Button, and Tailwind CSS.

Installation

V0 Button is a free, open-source React component in the Kokonut UI Buttons collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/v0-button.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/v0-button

Usage

import V0Button from "@/components/kokonutui/v0-button";

export default function Example() {
  return <V0Button />;
}

Props

Registry item JSON to open in v0. Defaults to the KokonutUI entry for name. Also takes every prop of React.ComponentProps<typeof Button>.

Dependencies

Needs Version Comes from
button shadcn/ui, added by the CLI
cn from lib/utils.ts shadcn init
React 19 Your app
Tailwind CSS 4 Your app

No provider, font or global CSS to set up: the file works as soon as it lands.

Related Components