The Label component

This component is not supported for Google Ads, Google AdMob, AMPHTML ads video ads , or image ads .

The Label component lets you add captions for other elements in your project, such as  other UI components that don't have their own labels. Users who click or tap the label activate the associated element. For example, if a user clicks the label for a radio button, they select that radio button.

To use the Label component in your project:

  1. Open the Componentspanel, then the UIfolder.
  2. Drag the  Labelcomponent to the stage.
  3. In the Labelproperties section of the Propertiespanel, enter the text you want displayed in the  Label field.
  4. To associate this label with another element, enter that element's ID in the  For field.
  5. You can style the label using formatting options in the Textpanel.

Properties

Property Description
Name The component name.
Label The visible text of the label.
For The ID of the element that the label is for. This property allows interaction with the label to activate the element.

Preview

You can't interact with UI components inside the Google Web Designer interface. To see the component in action, preview your document  in your preferred browser. The appearance of UI components may vary depending on the browser.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
5288455144986260616
true
Search Help Center
false
true
true
true
true
true
5050422
false
false
false
false
false
Create a Mobile Website
View Site in Mobile | Classic
Share by: