Home / Function/ ProgressDemo() — ui Function Reference

ProgressDemo() — ui Function Reference

Architecture documentation for the ProgressDemo() function in progress-demo.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  e696c715_5cef_7f8b_1fb4_d3b4d152f0ec["ProgressDemo()"]
  f1b08e18_5db2_b6b1_bf66_a930e54eb9f1["progress-demo.tsx"]
  e696c715_5cef_7f8b_1fb4_d3b4d152f0ec -->|defined in| f1b08e18_5db2_b6b1_bf66_a930e54eb9f1
  style e696c715_5cef_7f8b_1fb4_d3b4d152f0ec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/internal/sink/components/progress-demo.tsx lines 7–16

export 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

Frequently Asked Questions

What does ProgressDemo() do?
ProgressDemo() is a function in the ui codebase, defined in deprecated/www/registry/new-york/internal/sink/components/progress-demo.tsx.
Where is ProgressDemo() defined?
ProgressDemo() is defined in deprecated/www/registry/new-york/internal/sink/components/progress-demo.tsx at line 7.

Analyze Your Own Codebase

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

Try Supermodel Free