UIPin
ComponentsIconsIllustrationsMotionTemplatesApps
Boards
UIPin

Free, open-source UI components, icons, illustrations, motion, templates and apps, in one search. Every item links to its source and licence.

UIPin is free. If it saved you time, you can keep it running:

Buy me a coffee
ComponentsIconsIllustrationsMotionTemplatesAppsLibrariesCompareNew this weekMCP for agentsBoardsPrivacy

Components, icons and artwork belong to their authors and are shown under their open-source licences.

Kokonut UI/V0 Button

Buttons
1 of 25
Compiling

Theme it

Every preview, live

Brand colour

Corner radius

Font

Recolours shadcn’s tokens, Tailwind’s accent colours and colours set in the code. Red, amber and green classes stay, since they usually mean error, warning or success.

25 versions·6 librariesCompare all buttons →

  • V0 Button
  • 8-bit Button
  • 8-bit Button Group
  • Bg Animate Button
  • Border Beam Button
  • Cosmic Button
  • Family Button
  • Neumorph Button
  • Texture Button
  • Animated Shiny Button
  • Live Button
  • Button
  • Button group
  • Attract Button
  • Bell Button
  • Command Button
  • Gradient Button
  • Hold Button
  • Switch Button
  • Tear Button
  • Interactive Hover Button
  • Pulsating Button
  • Rainbow Button
  • Ripple Button
  • Shimmer Button

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.

npx shadcn@latest add https://kokonutui.com/r/v0-button.json
Open in v0 Docs Repo
Library
Kokonut UI
License
MIT
Stack
React · Tailwind CSS · radix
Packages
cnradix-ui
Also adds
button
Size
51 lines

Code

components/kokonutui/v0-button.tsx

import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";

const REGISTRY_URL = "https://kokonutui.com/r";

export default function V0Button({
  name = "liquid-glass-card",
  url = `${REGISTRY_URL}/${name}.json`,
  className,
  ...props
}: {
  name?: string;
  /** Registry item JSON to open in v0. Defaults to the KokonutUI entry for `name`. */
  url?: string;
} & React.ComponentProps<typeof Button>) {
  return (
    <Button
      aria-label="Open in v0"
      {...props}
      asChild
      className={cn(
        "gap-1 rounded-lg bg-black px-3 text-white text-xs shadow-none transition-[color,background-color,scale] duration-150 ease-[cubic-bezier(0.23,1,0.32,1)] hover:bg-zinc-800 motion-safe:active:scale-[0.97] dark:bg-white dark:text-black dark:hover:bg-zinc-200",
        className
      )}
    >
      <a
        href={`https://v0.dev/chat/api/open?url=${encodeURIComponent(url)}`}
        rel="noreferrer"
        target="_blank"
      >
        Open in{" "}
        <svg
          aria-hidden="true"
          fill="none"
          viewBox="0 0 40 20"
          xmlns="http://www.w3.org/2000/svg"
        >
          <path
            d="M23.3919 0H32.9188C36.7819 0 39.9136 3.13165 39.9136 6.99475V16.0805H36.0006V6.99475C36.0006 6.90167 35.9969 6.80925 35.9898 6.71766L26.4628 16.079C26.4949 16.08 26.5272 16.0805 26.5595 16.0805H36.0006V19.7762H26.5595C22.6964 19.7762 19.4788 16.6139 19.4788 12.7508V3.68923H23.3919V12.7508C23.3919 12.9253 23.4054 13.0977 23.4316 13.2668L33.1682 3.6995C33.0861 3.6927 33.003 3.68923 32.9188 3.68923H23.3919V0Z"
            fill="currentColor"
          />
          <path
            d="M13.7688 19.0956L0 3.68759H5.53933L13.6231 12.7337V3.68759H17.7535V17.5746C17.7535 19.6705 15.1654 20.6584 13.7688 19.0956Z"
            fill="currentColor"
          />
        </svg>
      </a>
    </Button>
  );
}

More like this

Sheet

shadcn/ui·Overlays

Dropdown Menu

shadcn/ui·Overlays

Skeleton

shadcn/ui·Feedback & loaders

Toolbar Dynamic

Motion Primitives·Navigation

Native Select

shadcn/ui·Inputs & forms

Popover Form

Cult UI·Inputs & forms

Sidebar

shadcn/ui·Navigation

Bell Button

Kokonut UI·Buttons

Accordion

SmoothUI·Data display

Slider

shadcn/ui·Inputs & forms

Dot Pattern

Magic UI·Backgrounds

8-bit Switch

8bitcn·Inputs & forms

Ai Message

SmoothUI·Backgrounds

Ai Reasoning

SmoothUI·Media & 3D

Drawer

shadcn/ui·Overlays

Mobile