Skip to content

ETitle

ETitle is a UI element that provides a fixed label for each section of nav items in the sidebar. The difference between this component and ESidebarTitle is that the ETitle doesn't hide the label while the sidebar is in compact mode.

Usage

vue

<template>
  <ETitle :isHovered="isHovered">
    UI Elements
  </ETitle>
  <EListGroup title="Components">
    <EListItem>
      Button
    </EListItem>
    <EListItem>
      Badge
    </EListItem>
  </EListGroup>
</template>

<script setup>
  const props = defineProps({
    isHovered: Boolean,
  });
</script>

Props

PropTypeDefaultNote
tagString"h1"Defines wrapper tag
uppercaseBoolean-Uppercase the text

Slots

The ETitle component provides a default slot that enable you to customize the content.

SlotDescription
defaultThe default Vue slot.

COPYRIGHT