BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/skeuomorph-krzysztof/slider

slider

skeuomorph-krzysztof/slider
FreeComponent

skeuomorph-krzysztof publishes no description for this item.

Live preview

live · rendered by the registry
Rendered by skeuomorph-krzysztof on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://skeuomorph.krzysztof.studio/r/styles/new-york/slider.json

Source

ui/slider.tsxskeuomorph.krzysztof.studio/r/styles/new-york/slider.json
1"use client"
2
3import * as React from "react"
4import * as SliderPrimitive from "@radix-ui/react-slider"
5
6import { cn } from "@/lib/utils"
7
8const Slider = React.forwardRef<
9 React.ElementRef<typeof SliderPrimitive.Root>,
10 React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>
11>(({ className, ...props }, ref) => (
12 <SliderPrimitive.Root
13 ref={ref}
14 className={cn(
15 "relative flex w-full touch-none select-none items-center",
16 className
17 )}
18 {...props}
19 >
20 <SliderPrimitive.Track className="relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20">
21 <SliderPrimitive.Range className="absolute h-full bg-primary" />
22 </SliderPrimitive.Track>
23 <SliderPrimitive.Thumb className="block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50" />
24 </SliderPrimitive.Root>
25))
26Slider.displayName = SliderPrimitive.Root.displayName
27
28export { Slider }

What it pulls in

npm packages

  • @radix-ui/react-slider

Files it writes

  • ui/slider.tsx

Facts

Registry
skeuomorph-krzysztof
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-04
Last confirmed
today

Go to the source

Docs on skeuomorph-krzysztof skeuomorph.krzysztof.studio krzysztoff1/ui-skeuomorph on GitHub Raw registry item This item as JSON

More from skeuomorph-krzysztof

All 54 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionskeuomorph-krzysztofComponentsFree1 dep
alertalertskeuomorph-krzysztofComponentsFreeno deps
alert-dialogalert-dialogskeuomorph-krzysztofComponentsFree1 dep
aspect-ratioaspect-ratioskeuomorph-krzysztofComponentsFree1 dep
avataravatarskeuomorph-krzysztofComponentsFree1 dep
badgebadgeskeuomorph-krzysztofComponentsFree1 dep
breadcrumbbreadcrumbskeuomorph-krzysztofComponentsFree1 dep
buttonbuttonskeuomorph-krzysztofComponentsFree1 dep
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex