naive-ui/demo/documentation/components/card/enUS/segment.md
2020-01-27 20:00:39 +08:00

454 B

Segmented

content, footer and action can be hard or soft segmented. Segment border will appear at the top of segmented parts.

<n-card title="Card Segmented Demo" :segmented="{
  content: 'hard',
  footer: 'soft'
}">
  <template v-slot:header-extra>
    v-slot:header-extra
  </template>
  Card Content
  <template v-slot:footer>
    v-slot:footer
  </template>
  <template v-slot:action>
    v-slot:action
  </template>
</n-card>