The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
import { motion } from 'framer-motion'
import { MOTION_S } from './motion'
interface Props {
progress: number // 0-100
label?: string
}
export function ProgressBar({ progress, label }: Props) {
return (
<div className="w-full">
{label && <p className="text-sm text-gray-400 mb-1">{label}</p>}
<div className="w-full h-2 rounded-full bg-white/5 overflow-hidden">
<motion.div
className="h-full rounded-full bg-white/60"
style={{}}
initial={{ width: 0 }}
animate={{ width: `${Math.min(progress, 100)}%` }}
transition={{ duration: MOTION_S.slow }}
/>
</div>
<p className="text-xs text-gray-500 mt-1 text-right">{Math.round(progress)}%</p>
</div>
)
}