Download src/lib/components/ui/select/select.svelte from hivetrace/GuardRateLeaderboard: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/spaces/hivetrace/GuardRateLeaderboard/resolve/main/src/lib/components/ui/select/select.svelte
- Command line
-
hf download hf://spaces/hivetrace/GuardRateLeaderboard/src/lib/components/ui/select/select.svelte
-
curl -L -o select.svelte https://huggingface.co/spaces/hivetrace/GuardRateLeaderboard/resolve/main/src/lib/components/ui/select/select.svelte
277 Bytes
| <script lang="ts"> | |
| import { Select as SelectPrimitive } from "bits-ui"; | |
| let { | |
| open = $bindable(false), | |
| value = $bindable(), | |
| ...restProps | |
| }: SelectPrimitive.RootProps = $props(); | |
| </script> | |
| <SelectPrimitive.Root bind:open bind:value={value as never} {...restProps} /> | |