ui/button.tsx

Adobe_Premiere_Pro_MCP · website/src/components/ui/button.tsx · typescript · MIT
ui

Module exposing: Button

// Source: https://github.com/hetpatel-11/Adobe_Premiere_Pro_MCP | License: MIT | Copyright 2025-2026 hetpatel-11
// Provided via justclaw.it.com; keep this notice with the code.
import * as React from "react"
import { cva, type VariantProps } from "class-variance-authority"
import { Slot } from "radix-ui"

import { cn } from "@/lib/utils"

const buttonVariants = cva(
  "group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:rin

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key