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