@azulejo-kit/flag
v1.1.0
Published
A flag is used to display meta-information about a product or service, acting as a visual indicator of the main category of content.
Readme
Flag
A flag is used to display meta-information about a product or service, acting as a visual indicator of the main category of content.
Installation
npm install @azulejo-kit/flag
# or
yarn add @azulejo-kit/flagProps
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| label | string | — | Required. Label text of the Flag. |
| appearance | "standard" | "danger" | "accent" | "inverse" | — | Allows to define the Flag appearance. |
Basic Usage
<template>
<AzFlag label="New" />
<AzFlag label="Sale" appearance="danger" />
</template>