SPB Git

spb/vquant Public MIT

VibeQuant — AI-powered institutional-grade financial intelligence platform.

TypeScript 84.3% Python 11.7% JavaScript 1.6% CSS 1.5% HTML 0.7%
1.6 KB · 45 lines tsx
Raw Blame History
1/*2 * =============================================================================3 *  VibeQuant (vquant) — AI-Powered Financial Intelligence Platform4 * -----------------------------------------------------------------------------5 *  File:      client/src/components/ui/checkbox.tsx6 *7 *  Author:    Simon-Pierre Boucher8 *  Contact:   contact@spboucher.ai9 *  Website:   https://www.spboucher.ai10 *  Demo:      https://www.vquant.ai11 *  License:   MIT (see LICENSE)12 *13 *  Copyright © 2026 Simon-Pierre Boucher. All rights reserved.14 * =============================================================================15 */1617import * as React from "react"18import * as CheckboxPrimitive from "@radix-ui/react-checkbox"19import { Check } from "lucide-react"2021import { cn } from "@/lib/utils"2223const Checkbox = React.forwardRef<24  React.ElementRef<typeof CheckboxPrimitive.Root>,25  React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>26>(({ className, ...props }, ref) => (27  <CheckboxPrimitive.Root28    ref={ref}29    className={cn(30      "peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",31      className32    )}33    {...props}34  >35    <CheckboxPrimitive.Indicator36      className={cn("flex items-center justify-center text-current")}37    >38      <Check className="h-4 w-4" />39    </CheckboxPrimitive.Indicator>40  </CheckboxPrimitive.Root>41))42Checkbox.displayName = CheckboxPrimitive.Root.displayName4344export { Checkbox }45