AlphaSlider

AlphaSlider is a component used to allow the user to select color transparency.

Usage

import { AlphaSlider } from "@yamada-ui/react"
<AlphaSlider.Root />

Change Size

Set Default Value

To set a default value, set a value to defaultValue.

Set Minimum and Maximum Values

To set minimum and maximum values, set numbers to min or max.

Change Orientation

To change the orientation, set orientation to "vertical" or "horizontal". The default is "vertical".

Change Shape

Set Step Value

To set the step value, set a value to step.

Disable

To disable, set disabled to true.

Read-Only

To make read-only, set readOnly to true.

Display Tooltip

Handle Start and End Change Events

To handle start and end change events, use onChangeStart and onChangeEnd.

Value: 0.5, Start Value: 0.5, End Value: 0.5

Control

Props

Accessibility

Currently, this section is being updated due to the migration of v2.