diff --git a/apps/web/src/components/select-field.tsx b/apps/web/src/components/select-field.tsx
index 8c49680..5016589 100644
--- a/apps/web/src/components/select-field.tsx
+++ b/apps/web/src/components/select-field.tsx
@@ -1,11 +1,14 @@
import * as React from 'react'
-import {
- Select as SelectPrimitive,
- type SelectRootProps,
-} from '@base-ui/react/select'
+import type { SelectRootProps } from '@base-ui/react/select'
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from '@cfdm/ui/components/select'
import { cn } from '@cfdm/ui/lib/utils'
-import { ChevronDownIcon, CheckIcon, ChevronUpIcon } from 'lucide-react'
export interface SelectOption {
value: string
@@ -32,76 +35,23 @@ export function SelectField({
onValueChange,
...props
}: SelectFieldProps) {
- const items = React.useMemo(() => options.map((o) => ({ value: o.value, label: o.label })), [options])
+ const items = React.useMemo(
+ () => options.map((o) => ({ value: o.value, label: o.label })),
+ [options],
+ )
return (
-
-
-
- }
- />
-
-
-
-
-
-
-
-
- {options.map((opt) => (
-
-
- {opt.label}
-
-
- }
- >
-
-
-
- ))}
-
-
-
-
-
-
-
-
+
)
}