Home / File/ progress-demo.tsx — ui Source File

progress-demo.tsx — ui Source File

Architecture documentation for progress-demo.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas Changelog 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  003e389d_b306_4779_5824_b6b519f4e3fc["progress-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  003e389d_b306_4779_5824_b6b519f4e3fc --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  5af3884a_a920_118f_9d1f_94da4f8da1d0["progress"]
  003e389d_b306_4779_5824_b6b519f4e3fc --> 5af3884a_a920_118f_9d1f_94da4f8da1d0
  style 003e389d_b306_4779_5824_b6b519f4e3fc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import { Progress } from "@/examples/base/ui/progress"

export default function ProgressDemo() {
  const [progress, setProgress] = React.useState(13)

  React.useEffect(() => {
    const timer = setTimeout(() => setProgress(66), 500)
    return () => clearTimeout(timer)
  }, [])

  return <Progress value={progress} className="w-[60%]" />
}

Subdomains

Functions

Dependencies

  • progress
  • react

Frequently Asked Questions

What does progress-demo.tsx do?
progress-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in progress-demo.tsx?
progress-demo.tsx defines 1 function(s): ProgressDemo.
What does progress-demo.tsx depend on?
progress-demo.tsx imports 2 module(s): progress, react.
Where is progress-demo.tsx in the architecture?
progress-demo.tsx is located at apps/v4/examples/base/progress-demo.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/base).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free