Download frontend/src/components/ui/CardHeader.vue from nst1/gemini: direct link, hf CLI and curl.
- Browser
- Download file 606 Bytes
-
https://huggingface.co/spaces/nst1/gemini/resolve/main/frontend/src/components/ui/CardHeader.vue
- Command line
-
hf download hf://spaces/nst1/gemini/frontend/src/components/ui/CardHeader.vue
-
curl -L -o CardHeader.vue https://huggingface.co/spaces/nst1/gemini/resolve/main/frontend/src/components/ui/CardHeader.vue
606 Bytes
| <template> | |
| <div class="flex items-center justify-between gap-3" :class="compact ? '' : 'mb-4'"> | |
| <div class="min-w-0"> | |
| <p class="ui-subsection-title">{{ title }}</p> | |
| <p v-if="description" class="mt-1 text-xs text-muted-foreground">{{ description }}</p> | |
| </div> | |
| <div v-if="$slots.actions" class="flex shrink-0 items-center gap-2"> | |
| <slot name="actions" /> | |
| </div> | |
| </div> | |
| </template> | |
| <script setup lang="ts"> | |
| withDefaults( | |
| defineProps<{ | |
| title: string | |
| description?: string | |
| compact?: boolean | |
| }>(), | |
| { | |
| description: '', | |
| compact: false, | |
| } | |
| ) | |
| </script> | |