Skip to content

List Page Title

A title component specifically designed for list pages, providing page title, description, and action buttons.

Usage

html
<list-page-title 
  title="All Users"
  description="Manage your application users"
  :action-buttons="actions"
></list-page-title>

Props

PropTypeDefaultDescription
titlestringRequiredThe main page title
descriptionstring''Optional description text
actionButtonsArray<ActionButton>[]Array of action buttons to display
showBreadcrumbbooleantrueWhether to show breadcrumb navigation
breadcrumbItemsArray<BreadcrumbItem>[]Breadcrumb items

Types

typescript
interface ActionButton {
  text: string
  type?: 'primary' | 'success' | 'warning' | 'danger' | 'info'
  icon?: string
  handler: () => void
  loading?: boolean
  disabled?: boolean
}

Features

  • Page Context: Clear title and optional description for the page
  • Action Buttons: Support for multiple action buttons with different styles
  • Breadcrumb Integration: Built-in breadcrumb navigation support
  • Responsive Layout: Adapts to different screen sizes

Examples

Basic List Page Title

html
<list-page-title 
  title="Products"
  description="Manage your product catalog"
></list-page-title>

With Action Buttons

html
<list-page-title 
  title="Orders"
  description="View and manage customer orders"
  :action-buttons="[
    {
      text: 'New Order',
      type: 'primary',
      icon: 'plus',
      handler: () => showCreateOrder = true
    },
    {
      text: 'Export',
      type: 'default',
      icon: 'download',
      handler: exportOrders
    }
  ]"
></list-page-title>

With Breadcrumbs

html
<list-page-title 
  title="User Settings"
  :breadcrumb-items="[
    { text: 'Dashboard', to: '/' },
    { text: 'Settings', to: '/settings' },
    { text: 'Users' }
  ]"
></list-page-title>

© Velocitech LTD. All rights reserved.

Build SaaS Products Without Limits.