SidebarTitle.vue component provides a styled header section for sidebar menus. It is designed to be used as a visually distinct title or label for grouped items or sections in a sidebar.
Features
Customizable Content
Accepts custom text or elements through the default slot, providing flexible content options.
Simple Integration
Lightweight and easy to use within sidebar layouts, ensuring smooth integration with minimal effort.
Styling for Titles
Pre-styled for a consistent appearance in sidebar headers, maintaining design uniformity.
Usage
Basic Example
Props
This component does not accept any props.Slots
Content displayed as the title text or element.
<template #default></template>Events
This component does not emit any custom events.Notes
- The
SidebarTitlecomponent is designed to provide consistent styling for sidebar section headers. - It supports any content passed through the default slot, such as plain text or icons.