Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@tabula/ui-slider
Advanced tools
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
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.
Use the package manager pnpm to install @tabula/ui-slider
.
pnpm add @tabula/ui-slider
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} />
}
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.
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.
This project is ISC licensed.
FAQs
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
We found that @tabula/ui-slider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.