Download tools/server/webui/src/lib/components/ui/select/select-label.svelte from echodict/llama.cpp: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/datasets/echodict/llama.cpp/resolve/main/tools/server/webui/src/lib/components/ui/select/select-label.svelte
- Command line
-
hf download hf://datasets/echodict/llama.cpp/tools/server/webui/src/lib/components/ui/select/select-label.svelte
-
curl -L -o select-label.svelte https://huggingface.co/datasets/echodict/llama.cpp/resolve/main/tools/server/webui/src/lib/components/ui/select/select-label.svelte
471 Bytes
| <script lang="ts"> | |
| import { cn, type WithElementRef } from '$lib/components/ui/utils.js'; | |
| import type { HTMLAttributes } from 'svelte/elements'; | |
| let { | |
| ref = $bindable(null), | |
| class: className, | |
| children, | |
| ...restProps | |
| }{} = $props(); | |
| </script> | |
| <div | |
| bind:this={ref} | |
| data-slot="select-label" | |
| class={cn('px-2 py-1.5 text-xs text-muted-foreground', className)} | |
| {...restProps} | |
| > | |
| {@render children?.()} | |
| </div> | |