Download src/lib/components/ui/select/select-group.svelte from hivetrace/GuardRateLeaderboard: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/spaces/hivetrace/GuardRateLeaderboard/resolve/main/src/lib/components/ui/select/select-group.svelte
- Command line
-
hf download hf://spaces/hivetrace/GuardRateLeaderboard/src/lib/components/ui/select/select-group.svelte
-
curl -L -o select-group.svelte https://huggingface.co/spaces/hivetrace/GuardRateLeaderboard/resolve/main/src/lib/components/ui/select/select-group.svelte
356 Bytes
| <script lang="ts"> | |
| import { Select as SelectPrimitive } from "bits-ui"; | |
| import { cn } from "$lib/utils.js"; | |
| let { | |
| ref = $bindable(null), | |
| class: className, | |
| ...restProps | |
| }: SelectPrimitive.GroupProps = $props(); | |
| </script> | |
| <SelectPrimitive.Group | |
| bind:ref | |
| data-slot="select-group" | |
| class={cn("scroll-my-1.5 p-1.5", className)} | |
| {...restProps} | |
| /> | |