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