This label is amazing, use it responsibly.
Color
<div class="theme--light">
<Label>Default</Label>
<br />
<Label color="primary">Primary</Label>
<br />
<Label color="secondary">Secondary</Label>
<br />
<Label color="error">Error</Label>
</div>
Typography
<div class="theme--light">
<Label color="primary" typography="title">Title</Label>
<br />
<Label color="primary" typography="subtitle">Subtitle</Label>
<br />
<Label color="primary" typography="caption">Caption</Label>
</div>
You can use this label as in this example.
<template>
<div class="theme--light">
<div class="wrapper">
<Label typography="title">{{ title }}</Label>
<br />
<Label typography="caption">{{ caption }}</Label>
</div>
<div class="wrapper">
<Label typography="subtitle">{{ subtitle }}</Label>
<br />
<Label>{{ text }}</Label>
</div>
</div>
</template>
<script>
export default {
data: () => ({
title: 'This is a title',
caption: 'and this a caption!',
subtitle: 'This is a subtitle',
text: 'and this is a simple text!'
})
}
</script>
<style>
.wrapper {
margin: 10px;
}
</style>