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 ComponentRegistry ChartRegistry 2 imports 1 functions

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

"use client"

import * as React from "react"

import { Progress } from "@/registry/new-york/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 ComponentRegistry domain, ChartRegistry 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 deprecated/www/registry/new-york/examples/progress-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/examples).

Analyze Your Own Codebase

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

Try Supermodel Free