Download tools/server/webui/src/lib/components/ui/select/select-scroll-up-button.svelte from echodict/llama.cpp: direct link, hf CLI and curl.
- Browser
- Download file 614 Bytes
-
https://huggingface.co/datasets/echodict/llama.cpp/resolve/main/tools/server/webui/src/lib/components/ui/select/select-scroll-up-button.svelte
- Command line
-
hf download hf://datasets/echodict/llama.cpp/tools/server/webui/src/lib/components/ui/select/select-scroll-up-button.svelte
-
curl -L -o select-scroll-up-button.svelte https://huggingface.co/datasets/echodict/llama.cpp/resolve/main/tools/server/webui/src/lib/components/ui/select/select-scroll-up-button.svelte
614 Bytes
| <script lang="ts"> | |
| import ChevronUpIcon from '@lucide/svelte/icons/chevron-up'; | |
| import { Select as SelectPrimitive } from 'bits-ui'; | |
| import { cn, type WithoutChildrenOrChild } from '$lib/components/ui/utils.js'; | |
| let { | |
| ref = $bindable(null), | |
| class: className, | |
| ...restProps | |
| } | |
| </script> | |
| <SelectPrimitive.ScrollUpButton | |
| bind:ref | |
| data-slot="select-scroll-up-button" | |
| class={cn('flex cursor-default items-center justify-center py-1', className)} | |
| {...restProps} | |
| > | |
| <ChevronUpIcon class="size-4" /> | |
| </SelectPrimitive.ScrollUpButton> | |