Download src/lib/components/ui/select/select-separator.svelte from hivetrace/GuardRateLeaderboard: direct link, hf CLI and curl.
- Browser
- Download file 459 Bytes
-
https://huggingface.co/spaces/hivetrace/GuardRateLeaderboard/resolve/main/src/lib/components/ui/select/select-separator.svelte
- Command line
-
hf download hf://spaces/hivetrace/GuardRateLeaderboard/src/lib/components/ui/select/select-separator.svelte
-
curl -L -o select-separator.svelte https://huggingface.co/spaces/hivetrace/GuardRateLeaderboard/resolve/main/src/lib/components/ui/select/select-separator.svelte
459 Bytes
| <script lang="ts"> | |
| import type { Separator as SeparatorPrimitive } from "bits-ui"; | |
| import { Separator } from "$lib/components/ui/separator/index.js"; | |
| import { cn } from "$lib/utils.js"; | |
| let { | |
| ref = $bindable(null), | |
| class: className, | |
| ...restProps | |
| }: SeparatorPrimitive.RootProps = $props(); | |
| </script> | |
| <Separator | |
| bind:ref | |
| data-slot="select-separator" | |
| class={cn("bg-border -mx-1.5 my-1.5 h-px pointer-events-none", className)} | |
| {...restProps} | |
| /> | |