Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
61 lines (39 loc) · 1.62 KB

label.md

File metadata and controls

61 lines (39 loc) · 1.62 KB
title
ion-label

import Props from '@ionic-internal/component-api/v8/label/props.md'; import Events from '@ionic-internal/component-api/v8/label/events.md'; import Methods from '@ionic-internal/component-api/v8/label/methods.md'; import Parts from '@ionic-internal/component-api/v8/label/parts.md'; import CustomProps from '@ionic-internal/component-api/v8/label/custom-props.mdx'; import Slots from '@ionic-internal/component-api/v8/label/slots.md';

<title>ion-label: Item Label Color and Properties for Applications</title>

import EncapsulationPill from '@components/page/api/EncapsulationPill';

Label is an element used primarily to add text content to Item components. Label can also be used inside of form control components such as Input or Radio when specifying the visible label, but it is not required.

The position of the label inside of an item can be inline, fixed, stacked, or floating.

Basic Usage

import Basic from '@site/static/usage/v8/label/basic/index.md';

Item Labels

import Item from '@site/static/usage/v8/label/item/index.md';

Theming

Colors

import Colors from '@site/static/usage/v8/label/theming/colors/index.md';

Properties

Events

Methods

CSS Shadow Parts

CSS Custom Properties

Slots