slider-demo.tsx — ui Source File
Architecture documentation for slider-demo.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 9b0cf614_8d1c_fc9b_6379_7d98475cdc29["slider-demo.tsx"] 79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"] 9b0cf614_8d1c_fc9b_6379_7d98475cdc29 --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81 099e9df1_e8b0_0122_cd24_304c0eb90eac["slider"] 9b0cf614_8d1c_fc9b_6379_7d98475cdc29 --> 099e9df1_e8b0_0122_cd24_304c0eb90eac style 9b0cf614_8d1c_fc9b_6379_7d98475cdc29 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { cn } from "@/lib/utils"
import { Slider } from "@/registry/new-york/ui/slider"
type SliderProps = React.ComponentProps<typeof Slider>
export function SliderDemo({ className, ...props }: SliderProps) {
return (
<Slider
defaultValue={[50]}
max={100}
step={1}
className={cn("w-[60%]", className)}
{...props}
/>
)
}
Domain
Subdomains
Functions
Types
Dependencies
- slider
- utils
Source
Frequently Asked Questions
What does slider-demo.tsx do?
slider-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 slider-demo.tsx?
slider-demo.tsx defines 1 function(s): SliderDemo.
What does slider-demo.tsx depend on?
slider-demo.tsx imports 2 module(s): slider, utils.
Where is slider-demo.tsx in the architecture?
slider-demo.tsx is located at deprecated/www/registry/new-york/internal/sink/components/slider-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/internal/sink/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free