> For the complete documentation index, see [llms.txt](https://redd.gitbook.io/atomic-layout/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://redd.gitbook.io/atomic-layout/fundamentals/prop-aliases.md).

# Prop aliases

## What is a "prop alias"?

Prop alias is a prop name shorthand that compiles into a single or multiple CSS properties.

This feature is designed for convenience and development speed. These props can be assigned to any component exposed by the library, including the area components generated from your composition template strings.

{% hint style="info" %}
Values of prop aliases can be applied conditionally. **See** [**Responsive props**](/atomic-layout/fundamentals/responsive-props.md).
{% endhint %}

Each prop alias is associated with a single, or multiple corresponding CSS properties. See the list of all aliases and the corresponding CSS properties in the tables below.

## Grid

| **Prop name**  | **CSS property**                                                                                  |
| -------------- | ------------------------------------------------------------------------------------------------- |
| `areas`        | [`grid-template-areas`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas)     |
| `template`     | [~~`grid-template-areas`~~](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas) |
| `templateCols` | [`grid-template-columns`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns) |
| `templateRows` | [`grid-template-rows`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows)       |
| `gap`          | [`grid-gap`](https://developer.mozilla.org/en-US/docs/Web/CSS/gap)                                |
| `gapCol`       | [`grid-column-gap`](https://developer.mozilla.org/en-US/docs/Web/CSS/column-gap)                  |
| `gapRow`       | [`grid-row-gap`](https://developer.mozilla.org/en-US/docs/Web/CSS/row-gap)                        |
| `col`          | [`grid-column`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column)                     |
| `colStart`     | [`grid-column-start`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-start)         |
| `colEnd`       | [`grid-column-end`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-end)             |
| `row`          | [`grid-row`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row)                           |
| `rowStart`     | [`grid-row-start`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-start)               |
| `rowEnd`       | [`grid-row-end`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-end)                   |
| `autoRows`     | [`grid-auto-rows`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-rows)               |
| `autoCols`     | [`grid-auto-columns`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-columns)         |
| `autoFlow`     | [`grid-auto-flow`](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow)               |

## Alignment

| **Prop name**    | **CSS property**                                                                      |
| ---------------- | ------------------------------------------------------------------------------------- |
| `order`          | [`order`](https://developer.mozilla.org/en-US/docs/Web/CSS/order)                     |
| `flexDirection`  | [`flex-direction`](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction)   |
| `flexShrink`     | [`flex-shrink`](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-shrink)         |
| `flexGrow`       | [`flex-grow`](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow)             |
| `flexWrap`       | [`flex-wrap`](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap)             |
| `align`          | [`align-self`](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self)           |
| `alignItems`     | [`align-items`](https://developer.mozilla.org/en-US/docs/Web/CSS/align-items)         |
| `alignContent`   | [`align-content`](https://developer.mozilla.org/en-US/docs/Web/CSS/align-content)     |
| `justify`        | [`justify-self`](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self)       |
| `justifyItems`   | [`justify-items`](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items)     |
| `justifyContent` | [`justify-content`](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content) |
| `place`          | `place`                                                                               |
| `placeItems`     | [`place-items`](https://developer.mozilla.org/en-US/docs/Web/CSS/place-items)         |
| `placeContent`   | [`place-content`](https://developer.mozilla.org/en-US/docs/Web/CSS/place-content)     |

## Dimensions

| **Prop name** | **CSS property** |
| ------------- | ---------------- |
| `minHeight`   | `min-height`     |
| `maxHeight`   | `max-height`     |
| `height`      | `height`         |
| `minWidth`    | `min-width`      |
| `maxWidth`    | `max-width`      |
| `width`       | `width`          |

## Spacing

| **Prop name**       | **CSS property**                   |
| ------------------- | ---------------------------------- |
| `margin`            | `margin`                           |
| `marginVertical`    | `margin-top` and `margin-bottom`   |
| `marginHorizontal`  | `margin-right` and `margin-left`   |
| `marginTop`         | `margin-top`                       |
| `marginRight`       | `margin-right`                     |
| `marginBottom`      | `margin-bottom`                    |
| `marginLeft`        | `margin-left`                      |
| `padding`           | `padding`                          |
| `paddingVertical`   | `padding-top` and `padding-bottom` |
| `paddingHorizontal` | `padding-right` and `padding-left` |
| `paddingTop`        | `padding-top`                      |
| `paddingRight`      | `padding-right`                    |
| `paddingBottom`     | `padding-bottom`                   |
| `paddingLeft`       | `padding-left`                     |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://redd.gitbook.io/atomic-layout/fundamentals/prop-aliases.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
