Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

647 B
Raw Blame
<template>
  <button
    type="button"
    class="ext-cta"
    :class="`ext-cta--${variant}`"
    :title="hint"
    @click="emit('click')"
  >
    <span class="ext-cta__badge" aria-hidden="true">
      <slot name="icon" />
    </span>
    <span class="ext-cta__label">{{ label }}</span>
    <span class="ext-cta__arrow-wrap" aria-hidden="true">
      <t-icon name="jump" class="ext-cta__arrow" />
    </span>
  </button>
</template>

<script setup lang="ts">
withDefaults(
  defineProps<{
    label: string
    hint?: string
    variant?: 'chrome' | 'claw'
  }>(),
  { variant: 'chrome' },
)

const emit = defineEmits<{
  click: []
}>()
</script>