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, 1 dependents.

File tsx DocumentationAtlas ContentSourcing 2 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  fba154f7_12ca_fba3_2079_3037706c8b77["progress-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  fba154f7_12ca_fba3_2079_3037706c8b77 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  586bc556_dd23_86ef_eaf4_bdd7855462d9["progress"]
  fba154f7_12ca_fba3_2079_3037706c8b77 --> 586bc556_dd23_86ef_eaf4_bdd7855462d9
  1c2403dc_4584_9f39_4e98_855a7de18bd1["component-registry.ts"]
  1c2403dc_4584_9f39_4e98_855a7de18bd1 --> fba154f7_12ca_fba3_2079_3037706c8b77
  style fba154f7_12ca_fba3_2079_3037706c8b77 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"

import { Progress } from "@/registry/new-york-v4/ui/progress"

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

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, ContentSourcing 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.
What files import progress-demo.tsx?
progress-demo.tsx is imported by 1 file(s): component-registry.ts.
Where is progress-demo.tsx in the architecture?
progress-demo.tsx is located at apps/v4/app/(internal)/sink/components/progress-demo.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/app/(internal)/sink/components).

Analyze Your Own Codebase

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

Try Supermodel Free