Heading β
For common heading styles that you can manage from one component across project.
View SourceUsage β
css
@import "winduum/ui/heading/index.css" layer(components);
Tokens β
Installation β
Follow instructions for individual framework usage below
Examples β
Basic β
html
<div class="ui-heading">Heading</div>
vue
<script setup lang="ts">
import { UiHeading } from '@/components/ui/heading'
</script>
<template>
<UiHeading>Heading</UiHeading>
</template>
jsx
import { UiHeading } from '@/components/ui/heading'
export function Example() {
return (
<UiHeading>Heading</UiHeading>
)
}
Small β
html
<h3 class="ui-heading sm">Heading H3</h3>
Large β
html
<h3 class="ui-heading lg">Heading H1</h3>
Weight β
html
<h3 class="ui-heading font-normal">Heading H1</h3>