Skip to content

KvSectionTitle ​

用于页面分区、表格区域和详情区块的语义标题,支持操作区和多种视觉尺寸。

实时预览 ​

区块标题

标题和操作区会保持稳定对齐,小屏幕下操作按钮可以自然换行。

实时渲染

版本历史记录

运行概览

Props ​

属性类型默认值必填说明
titlestring''否标题文字
headingLevel2 | 3 | 4 | 5 | 62否语义标题层级
size'small' | 'default' | 'large''default'否标题视觉尺寸

Slots ​

插槽说明
default自定义标题内容
actions标题右侧操作区

示例代码 ​

vue
<template>
  <KvSectionTitle title="版本历史记录">
    <template #actions>
      <el-button>导出</el-button>
      <el-button type="primary">创建版本</el-button>
    </template>
  </KvSectionTitle>
</template>