Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tabula/ui-slider

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tabula/ui-slider

Sliders allow users to quickly select a value within a range. They should be used when the upper and lower bounds to the range are invariable

  • 2.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@tabula/ui-slider

Sliders allow users to quickly select a value within a range. They should be used when the upper and lower bounds to the range are invariable.

Installation

Use the package manager pnpm to install @tabula/ui-slider.

pnpm add @tabula/ui-slider

You can use npm or yarn too.

Usage

You can import UiCheckbox component and use for your purposes:

import { useState } from 'react';

import { UiSlider } from '@tabula/ui-slider';

export function CreativityLevel() {
  const [level, setLevel] = useState(0);

  return <UiSlider min={0} max={1} step={0.1} onChange={setLevel} value={level} />
}

Options

There are a few general properties which supported by component.

min and max

Allows to specify value constraints. Default values are 0 for min and 100 for max.

step

Allows to specify step of value changes. Default value is 0. The step can be integer or decimal value.

isDisabled

This property allows to disable a control.

variant

Allows to use one of available look & feel variants. The normal variant is used by default.

Additional options

className

An optional className property to customize styles of component.

id and name

You can provide id for root label element, and name for underlying input element.

License

This project is ISC licensed.

Keywords

FAQs

Package last updated on 24 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc