@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
1 lines • 493 B
JavaScript
import {a}from'./chunk-JUNHRB4B.js';import {Progress}from'radix-ui';import {jsx}from'react/jsx-runtime';function l({className:t,value:r,...i}){return jsx(Progress.Root,{"data-slot":"progress",className:a("bg-primary/20 relative h-2 w-full overflow-hidden rounded",t),value:r,...i,children:jsx(Progress.Indicator,{"data-slot":"progress-indicator",className:"bg-primary size-full flex-1 transition-all duration-500 ease-in-out",style:{transform:`translateX(-${100-(r||0)}%)`}})})}export{l as a};