• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Component Overview
2
3
4## Rows and Columns
5
6- [Column](ts-container-column.md)
7
8    A container that lays out child components vertically.
9- [ColumnSplit](ts-container-columnsplit.md)
10
11    A container that lays out child components vertically and inserts a horizontal divider between every two child components.
12- [Row](ts-container-row.md)
13
14    A container that lays out child components horizontally.
15- [RowSplit](ts-container-rowsplit.md)
16
17    A container that lays out child components horizontally and inserts a vertical divider between every two child components.
18- [SideBarContainer](ts-container-sidebarcontainer.md)
19
20    A container that contains a sidebar and content area as its child components. The sidebar is the first child component and can be shown or hidden as needed. The content area is the second child component.
21
22
23## Stack, Flex, and Grid
24
25- [Stack](ts-container-stack.md)
26
27    A container where child components are successively stacked and the latter one overwrites the previous one.
28- [Flex](ts-container-flex.md)
29
30    A container that allows for flexible layout of child components.
31- [GridContainer](ts-container-gridcontainer.md)
32
33    A container that lays out components vertically and is used only in the grid layout.
34- [GridRow](ts-container-gridrow.md)
35
36    A container that is used in a grid layout, together with its child component **\<GridCol>**.
37- [GridCol](ts-container-gridcol.md)
38
39    A container that must be used as a child component of the **\<GridRow>** container.
40- [RelativeContainer](ts-container-relativecontainer.md)
41
42    A container that is used for element alignment in complex scenarios.
43
44
45## List and Grid
46
47- [List](ts-container-list.md)
48
49    A container that presents a series of list items arranged in a column with the same width. It supports presentations of the same type of data in a multiple and coherent row style, for example, images or text.
50- [ListItem](ts-container-listitem.md)
51
52    A component that displays a specific item in the list and that must be used together with **\<List>**.
53- [ListItemGroup](ts-container-listitemgroup.md)
54
55    A component that displays list item groups and that must be used together with **\<List>**.
56- [Grid](ts-container-grid.md)
57
58    A container that consists of cells formed by rows and columns. You can specify the cells where items are located to form various layouts.
59- [GridItem](ts-container-griditem.md)
60
61    A container that provides a single item in a grid.
62
63
64## Scroll and Swipe
65
66- [Scroll](ts-container-scroll.md)
67
68    A container that scrolls the content when the layout size of a component exceeds the size of its parent component.
69- [Swiper](ts-container-swiper.md)
70
71    A container that is able to display child components in looping mode.
72- [WaterFlow](ts-container-waterflow.md)
73
74    A container that consists of cells formed by rows and columns and arranges items of different sizes from top to bottom according to the preset rules.
75- [FlowItem](ts-container-flowitem.md)
76
77    A child component of the **\<WaterFlow>** container that is used to display specific items in the container layout.
78
79
80## Navigation
81
82- [Navigator](ts-container-navigator.md)
83
84    A container that provides redirection.
85- [Navigation](ts-basic-components-navigation.md)
86
87    A container that typically functions as the root container of a page and displays the title bar, toolbar, and navigation bar based on the attribute settings.
88- [NavRouter](ts-basic-components-navrouter.md)
89
90    A container that provides default logic for click response processing, eliminating the need for manual logic definition.
91- [NavDestination](ts-basic-components-navdestination.md)
92
93    A child component of the **\<NavRouter>** component that represents a destination in the navigation area.
94- [Stepper](ts-basic-components-stepper.md)
95
96    A component that provides a step navigator.
97- [StepperItem](ts-basic-components-stepperitem.md)
98
99    A child component of the **\<Stepper>** component.
100- [Tabs](ts-container-tabs.md)
101
102    A container that allows users to switch between content views through tabs.
103- [TabContent](ts-container-tabcontent.md)
104
105    A component that corresponds to the content view on a tab page and is used only in the **\<Tabs>** component.
106
107
108## Button and Selection
109
110- [Button](ts-basic-components-button.md)
111
112    A component that is used to create different types of buttons.
113- [Toggle](ts-basic-components-toggle.md)
114
115    A component that provides a clickable element in the check box, button, or switch type.
116- [Checkbox](ts-basic-components-checkbox.md)
117
118    A component that is used to enable or disable an option.
119- [CheckboxGroup](ts-basic-components-checkboxgroup.md)
120
121    A component that is used to select or deselect all check boxes in a group.
122- [DatePicker](ts-basic-components-datepicker.md)
123
124    A component that allows users to select a date from the given range.
125- [TextPicker](ts-basic-components-textpicker.md)
126
127    A component that allows users to scroll to select text.
128- [TimePicker](ts-basic-components-timepicker.md)
129
130    A component that allows users to select a time from the given range through scrolling.
131- [Radio](ts-basic-components-radio.md)
132
133    A component that allows users to select from a set of mutually exclusive options.
134- [Rating](ts-basic-components-rating.md)
135
136    A component that provides a rating bar.
137- [Select](ts-basic-components-select.md)
138
139    A component that provides a drop-down list box to allow user to select among multiple options.
140- [Slider](ts-basic-components-slider.md)
141
142    A component that is used to quickly adjust settings, such as the volume and brightness.
143- [Counter](ts-container-counter.md)
144
145    A component that provides an operation to increase or decrease the number.
146
147
148## Text and Input
149
150- [Text](ts-basic-components-text.md)
151
152    A component that is used to display a piece of textual information.
153- [Span](ts-basic-components-span.md)
154
155    A component that is used to display inline text in the **\<Text>** component.
156- [Search](ts-basic-components-search.md)
157
158    A component that provides an area for users to enter search queries.
159- [TextArea](ts-basic-components-textarea.md)
160
161    A component that provides multi-line text input and automatically wraps text so that each line does not have more than the width of the component.
162- [TextInput](ts-basic-components-textinput.md)
163
164    A component that provides single-line text input.
165- [PatternLock](ts-basic-components-patternlock.md)
166
167    A component that allows users to use a pattern password for authentication. It enters the input state once a finger is pressed against it, and exits the input state and completes the input once the finger leaves the screen.
168- [RichText](ts-basic-components-richtext.md)
169
170    A component that parses and displays HTML text.
171
172
173## Image, Video, and Media
174
175- [Image](ts-basic-components-image.md)
176
177    A component that is used to render and display local and online images.
178- [ImageAnimator](ts-basic-components-imageanimator.md)
179
180    A component that enables images to be played frame by frame. The list of images to be played as well as the duration of each image can be configured.
181- [Video](ts-media-components-video.md)
182
183    A component that is used to play a video and control its playback.
184- [PluginComponent](ts-basic-components-plugincomponent.md)
185
186    A component that allows the UI provided by an external application to be displayed in the application.
187- [XComponent](ts-basic-components-xcomponent.md)
188
189    A component that can accept and display the EGL/OpenGL ES and media data input.
190
191
192## Information Display
193
194- [DataPanel](ts-basic-components-datapanel.md)
195
196    A component that displays proportions in a chart.
197- [Gauge](ts-basic-components-gauge.md)
198
199    A component that is used to display data in a ring chart.
200- [LoadingProgress](ts-basic-components-loadingprogress.md)
201
202    A component that is used to create a loading animation.
203- [Marquee](ts-basic-components-marquee.md)
204
205    A component that is used to display a scrolling piece of text. The text is scrolled only when its width exceeds the width of the **\<Marquee>** component.
206- [Progress](ts-basic-components-progress.md)
207
208    A component that is used to provide a progress indicator that displays the progress of content loading or an operation.
209- [QRCode](ts-basic-components-qrcode.md)
210
211    A component that is used to display a QR code.
212- [TextClock](ts-basic-components-textclock.md)
213
214    A component that displays the current system time in text format for different time zones. The time is accurate to seconds.
215- [TextTimer](ts-basic-components-texttimer.md)
216
217    A component that displays timing information and is controlled in text format.
218
219
220## Blank and Divider
221
222- [Blank](ts-basic-components-blank.md)
223
224    A component that is able to automatically fill the empty spaces in the container along the main axis. It is valid only when the parent component is **\<Row>** or **\<Column>**.
225- [Divider](ts-basic-components-divider.md)
226
227    A component that is used to separate content blocks and elements.
228
229
230## Canvas and Graphics Drawing
231
232- [Canvas](ts-components-canvas-canvas.md)
233
234    A component that is used to customize drawings.
235- [Circle](ts-drawing-components-circle.md)
236
237    A component that is used to draw a circle.
238- [Ellipse](ts-drawing-components-ellipse.md)
239
240    A component that is used to draw an ellipse.
241- [Line](ts-drawing-components-line.md)
242
243    A component that is used to draw a straight line.
244- [Polyline](ts-drawing-components-polyline.md)
245
246    A component that is used to draw a polyline.
247- [Polygon](ts-drawing-components-polygon.md)
248
249    A component that is used to draw a polygon.
250- [Path](ts-drawing-components-path.md)
251
252    A component that is used to define a closed shape.
253- [Rect](ts-drawing-components-rect.md)
254
255    A component that is used to draw a rectangle.
256- [Shape](ts-drawing-components-shape.md)
257
258    A parent component of the drawing components. The attributes provided by this component are universal attributes supported by all the drawing components.
259
260
261## Web
262
263- [Web](ts-basic-components-web.md)
264
265    A component that is used to display web pages.
266
267
268## Miscellaneous
269
270- [ScrollBar](ts-basic-components-scrollbar.md)
271
272    A component that is used together with scrollable components, such as **\<List>**, **\<Grid>**, and **\<Scroll>**.
273- [Badge](ts-container-badge.md)
274
275    A container that can be attached to another component for tagging.
276- [AlphabetIndexer](ts-container-alphabet-indexer.md)
277
278    A component that can create a logically indexed array of items in a container for instant location.
279- [Panel](ts-container-panel.md)
280
281    A container that presents lightweight content with flexible sizes.
282- [Refresh](ts-container-refresh.md)
283
284    A container that provides the pull-to-refresh feature.
285- [AbilityComponent](ts-container-ability-component.md)
286
287    A container that is used for independently displaying an ability.
288- [RemoteWindow](ts-basic-components-remotewindow.md)
289
290    A component that is used to control the application window, providing the component animator and application window linkage animator during application startup and exit.
291- [Formcomponent](ts-basic-components-formcomponent.md)
292
293    A component that is used to display widgets.
294- [Menu](ts-basic-components-menu.md)
295
296    A component that is used to present a vertical list of items to the user.
297- [MenuItem](ts-basic-components-menuitem.md)
298
299    A component that is used to represent an item in a menu.
300- [MenuItemGroup](ts-basic-components-menuitemgroup.md)
301
302    A component that is used to represent a group of menu items.
303