naive-ui/demo/documentation/components/descriptions/enUS/columns.md
2019-11-12 15:04:42 +08:00

572 B

Columns

You can adjust items per row by set column of descriptions.

<n-descriptions label-placement="top" :column="4">
  <n-descriptions-item>
    <template v-slot:label>
      Breakfast
    </template>
    Apple
  </n-descriptions-item>
  <n-descriptions-item label="Brunch">
    Apple
  </n-descriptions-item>
  <n-descriptions-item label="Lunch">
    Apple
  </n-descriptions-item>
  <n-descriptions-item label="Supper">
    Apple
  </n-descriptions-item>
  <n-descriptions-item label="Midnight Snack">
    Apple
  </n-descriptions-item>
</n-descriptions>