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.4 KB · 45 lines tsx
Raw Blame History
1/*2 * =============================================================================3 *  VibeQuant (vquant) — AI-Powered Financial Intelligence Platform4 * -----------------------------------------------------------------------------5 *  File:      client/src/components/ui/progress.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 */1617"use client"1819import * as React from "react"20import * as ProgressPrimitive from "@radix-ui/react-progress"2122import { cn } from "@/lib/utils"2324const Progress = React.forwardRef<25  React.ElementRef<typeof ProgressPrimitive.Root>,26  React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>27>(({ className, value, ...props }, ref) => (28  <ProgressPrimitive.Root29    ref={ref}30    className={cn(31      "relative h-4 w-full overflow-hidden rounded-full bg-secondary",32      className33    )}34    {...props}35  >36    <ProgressPrimitive.Indicator37      className="h-full w-full flex-1 bg-primary transition-all"38      style={{ transform: `translateX(-${100 - (value || 0)}%)` }}39    />40  </ProgressPrimitive.Root>41))42Progress.displayName = ProgressPrimitive.Root.displayName4344export { Progress }45