IKHSAN
ENID Baca dalam Bahasa Indonesia

opendesk

Public
Branch
main
Latest commit
08d9f3328 October 2026

SettingsLayoutHeader.vue

Open raw
<template>
  <div class="flex items-start justify-between">
    <div class="flex flex-col gap-1">
      <slot name="title">
        <h1 class="text-md-semibold text-ink-gray-8">
          {{ title }}
        </h1>
      </slot>
      <slot name="description">
        <p class="text-p-sm max-w-md text-ink-gray-6">
          {{ description }}
        </p>
      </slot>
    </div>
    <slot name="actions" />
  </div>
  <div class="mt-6" v-if="Boolean($slots['bottom-section'])">
    <slot name="bottom-section" />
  </div>
</template>

<script setup lang="ts">
defineProps({
  title: {
    type: String,
  },
  description: {
    type: String,
  },
});
</script>
bytes
664
lines
32
Type
vue
Latest commit
28 October 2026