Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

365 B
Raw Blame
import { Slider } from 'ui'

import { cn } from '@/lib/utils'

type SliderProps = React.ComponentProps<typeof Slider>

export default function SliderDemo({ className, ...props }: SliderProps) {
  return (
    <Slider
      defaultValue={[20, 80]}
      min={0}
      max={100}
      step={1}
      className={cn('w-[60%]', className)}
      {...props}
    />
  )
}