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