# Page, Row, Col

The layout component `Page` acts as the default container for a page (setting background color and padding).\
\
`Row` and `Col` enable flex layouts for devices having with > 600.

## Preview

![Ipad Air 2 - landscape](/files/-LGy6KzMs_cJFStksX6J)

## Code

```jsx
import { Page, Row, Col, H1, P } from '@dormakaba/digital-reactnative-visual'

<Page>
  <Row>
    <Col>
      <Card>
        <H1>Typography H1</H1>
        <P>Lorem ipsum...</P>
        <P>Lorem ipsum...</P>
      </Card>
    </Col>
    <Col flex={2}>
      <Card>
        <H1>Typography H1</H1>
        <P>Lorem ipsum...</P>
        <P>Lorem ipsum...</P>
      </Card>
    </Col>
  </Row>
</Page>
```

## Props

### Page

| **Name** | **Type** | **Description**                            |
| -------- | -------- | ------------------------------------------ |
| noScoll  | boolean  | use a regular View instead of a scrollview |
| styles   | object   | styles to override                         |

### Row

| **Name** | **Type** | **Description** |
| -------- | -------- | --------------- |
|          |          |                 |

### Col

| **Name** | **Type** | **Description**                                                                             |
| -------- | -------- | ------------------------------------------------------------------------------------------- |
| flex     | integer  | flex size (relative size compared to other col 1 -> size 2 will be double of column 1, ...) |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dormakaba-digital.gitbook.io/reactnative-visual/components/layout-page-row-col.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
