0.1.2 • Published 3 years ago

@innofake/b0t-label v0.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

b0t-label

A simple label component that renders a styled text string.

Installation

npm install @innofake/b0t-label

Example

<b0t-label
  label="Hello World"
  type="strong">
</b0t-label>

Properties

PropertyAttributeModifiersTypeDefaultDescription
labellabelStringThe label string to display.
overrideThe element style template.
stylesreadonlyCSSResult[]
typetype"default"\|"title"\|"subtitle"\|"strong"\|String"default"The type of label to display:- default Normal font weight.- title Larger font and weight.- subtitle Larger font and weight.- strong Largest font and weight.

CSS Custom Properties

PropertyDescription
--innofake-b0t-label-cursorLabel cursor.
--innofake-b0t-label-default-font-sizeDefault label font size.
--innofake-b0t-label-default-font-weightDefault label font weight.
--innofake-b0t-label-font-colorLabel font color.
--innofake-b0t-label-font-familyLabel font family.
--innofake-b0t-label-font-sizeLabel font size.
--innofake-b0t-label-font-weightLabel font weight.
--innofake-b0t-label-strong-font-sizeStrong label font size.
--innofake-b0t-label-strong-font-weightStrong label font weight.
--innofake-b0t-label-subtitle-font-sizeSubtitle label font size.
--innofake-b0t-label-subtitle-font-weightSubtitle label font weight.
--innofake-b0t-label-title-font-sizeTitle label font size.
--innofake-b0t-label-title-font-weightTitle label font weight.
0.1.2

3 years ago

0.1.0

3 years ago

0.0.36

3 years ago

0.0.35

3 years ago

0.0.34

3 years ago

0.0.33

3 years ago

0.0.32

3 years ago