Html
Overview of the Html Component
The HTML component allows you to insert custom HTML tags into your application.
Properties
Important Note!This document lists the properties specific to this UI component. To check the properties common to most UI components, please refer to the General components document.
You can set the HTML component properties under the Common and Styles tabs:
Common Properties
Property Name | Property Description |
|---|---|
Container | Sets the HTML element used as the wrapper for content: No wrapper, div, span, ol, ul, li, iframe, audio, video, fieldset, ion-segment, ion-segment-button, ion-label, ion-chip, ion-badge, ion-item. |
HTML | The content of the HTML component. |
Click Parse to create Appery.io components from HTML code copied from third-party resources. | |
Use the AI Assistant property to quickly generate app UI. You can enter your query or use speech recognition to input your request. | |
Wrapper Style | Use this to style the HTML component with custom components inside so that the page appearance in the visual editor matches the page appearance on preview.
This setting is used only within the visual editor and does not affect the actual application. |
NoteThe Container property is just a component container.
You can use the special keyword
%children%to insert child components in the middle of HTML content.
Styles Properties
Under the Styles tab, HTML components can be styled with several attributes:
Property Name | Property Description |
|---|---|
Bg Image | Click the Change button to select an uploaded image from Media Manager.
|
Text Color | Select a CSS color from the available options: Primary, Secondary, Tertiary, Success, Warning, Danger, Light, Medium, Dark, and Custom, or use the color picker. |
Font Size | Enter font size in |
Font Weight | Set the weight (or boldness) of the font: Normal or Bold. |
Line Height | Set the height of a line box in |
Font Style | Set whether a font should be styled with a Normal or Italic face. |
Text Decoration | Set the appearance of decorative lines on text using the predefined buttons: |
Updated 20 days ago
