diff --git a/apps/www/components/selectLargeData.tsx b/apps/www/components/selectLargeData.tsx
index 3272e73..f0106b3 100644
--- a/apps/www/components/selectLargeData.tsx
+++ b/apps/www/components/selectLargeData.tsx
@@ -6,8 +6,6 @@ import {
SelectGroup,
SelectItem,
SelectLabel,
- SelectScrollDownButton,
- SelectScrollUpButton,
SelectSeparator,
} from "ruru-ui/components/select";
@@ -22,13 +20,11 @@ const SelectCountries = () => {
Fruits
-
{Array.from({ length: 50 }, (_, index) => (
Ruru-UI-V{index}
))}
-
diff --git a/apps/www/content/docs/components/select.mdx b/apps/www/content/docs/components/select.mdx
index 94d31d7..b6ebc25 100644
--- a/apps/www/content/docs/components/select.mdx
+++ b/apps/www/content/docs/components/select.mdx
@@ -257,9 +257,9 @@ export function DefaultValueSelect() {
-### ScrollDownButton and ScrollUpButton
+### Scrollable
-You can add scroll buttons to the `Select` component by using the `SelectScrollDownButton` and `SelectScrollUpButton` components.
+When the content in the Select component exceeds the maximum height, it becomes scrollable, adding `ScrollUpButton` and `ScrollDownButton` to help users easily navigate through the options.
@@ -267,8 +267,6 @@ You can add scroll buttons to the `Select` component by using the `SelectScrollD
```tsx
-// [!code word:SelectScrollDownButton]
-// [!code word:SelectScrollUpButton]
import {
Select,
SelectContent,
@@ -277,8 +275,6 @@ import {
SelectGroup,
SelectItem,
SelectLabel,
- SelectScrollDownButton,
- SelectScrollUpButton,
SelectSeparator,
} from "ruru-ui/components/select";
@@ -293,13 +289,11 @@ const SelectCountries = () => {
Fruits
-
{Array.from({ length: 50 }, (_, index) => (
Ruru-UI-V{index}
))}
-
diff --git a/packages/ui/src/components/select.tsx b/packages/ui/src/components/select.tsx
index 6a1bad4..58aa8dd 100644
--- a/packages/ui/src/components/select.tsx
+++ b/packages/ui/src/components/select.tsx
@@ -121,7 +121,7 @@ const SelectScrollUpButton = React.forwardRef<