Skip to Content
Kokonut UI

BT-02Buttons

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.

Install with
no extra packages

PROPay Button and more like it are in Kokonut UI Pro

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

name
stringDefault "liquid-glass-card"
url
stringDefault `${REGISTRY_URL}/${name}.json`

Registry item JSON to open in v0. Defaults to the KokonutUI entry for name.

Also takes every prop of React.ComponentProps<typeof Button>.

Dependencies

NeedsVersionComes from
buttonshadcn/ui, added by the CLI
cn from lib/utils.tsshadcn init
React19Your app
Tailwind CSS4Your app

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