diff --git a/lib/components/Slider/Slider.tsx b/lib/components/Slider/Slider.tsx
index 1c0adf0..82a66d8 100644
--- a/lib/components/Slider/Slider.tsx
+++ b/lib/components/Slider/Slider.tsx
@@ -1,4 +1,4 @@
-import { useRef, useState } from 'react';
+import { useId, useRef, useState } from 'react';
import {
Slider as ArkSlider,
SliderValueChangeDetails as ArkValueChangeDetails,
@@ -50,6 +50,7 @@ const getThumbBackgroundColor = (focused: boolean, value: number) => {
};
export const Slider = ({ label, icon, onValueChange, value }: SliderProps) => {
+ const inputId = useId();
const [focused, setFocused] = useState(false);
const arrowRef = useRef(null);
const { refs, floatingStyles, context } = useFloating({
@@ -94,6 +95,8 @@ export const Slider = ({ label, icon, onValueChange, value }: SliderProps) => {
{icon}