๐Ÿ“ฆ ionic-team / ionic-docs

๐Ÿ“„ row.md ยท 56 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56---
title: 'ion-row'
---

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

<head>
  <title>ion-row: Horizontal Row Components of the Grid System</title>
  <meta
    name="description"
    content="Rows are horizontal components of the grid system and contain varying numbers of columns. Read our ion-row API Docs for more information on alignment and usage."
  />
</head>

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

<EncapsulationPill type="shadow" />

Rows are horizontal components of the [grid](./grid) system and contain varying numbers of
[columns](./col). They ensure the columns are positioned properly.

See the [grid](./grid) documentation for more information.

## Row Alignment

By default, columns will stretch to fill the entire height of the row and wrap when necessary. Rows are [flex containers](https://developer.mozilla.org/en-US/docs/Glossary/Flex_Container), so there are several [CSS classes](/docs/layout/css-utilities#flex-container-properties) that can be applied to a row to customize this behavior.

## Properties

<Props />

## Events

<Events />

## Methods

<Methods />

## CSS Shadow Parts

<Parts />

## CSS Custom Properties

<CustomProps />

## Slots

<Slots />