Files
heroui-vue/apps/docs/demos/typography-primitives.vue
2026-10-22 13:07:13 +08:00

22 lines
637 B
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup lang="ts">
import {
TypographyCode,
TypographyHeading,
TypographyParagraph,
} from "@heroui-vue/components";
</script>
<template>
<div class="flex max-w-xl flex-col gap-4">
<TypographyHeading :level="1">仪表盘</TypographyHeading>
<TypographyParagraph>
便捷原语是 Typography
的薄封装,可在不学习第二套样式系统的情况下选择显式组合。
</TypographyParagraph>
<TypographyParagraph color="muted" size="sm">
Paragraph 支持 base、sm 和 xs 尺寸。
</TypographyParagraph>
<TypographyCode>TypographyCode</TypographyCode>
</div>
</template>