Slider
controls are numeric fields that allow you to set a minimum value, a maximum value, and a step.
Example
new \Kirki\Field\Slider(
[
'settings' => 'slider_setting',
'label' => esc_html__( 'This is the label', 'kirki' ),
'section' => 'section_id',
'default' => 10,
'choices' => [
'min' => 0,
'max' => 100,
'step' => 1,
],
]
);