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.
import Basic from '@site/static/usage/v8/label/basic/index.md';
import Item from '@site/static/usage/v8/label/item/index.md';
import Colors from '@site/static/usage/v8/label/theming/colors/index.md';