File size: 924 Bytes
1e92f2d |
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 |
---
title: Display
description: Style props for styling display of an element.
---
## Display Property
```jsx
<Box display="flex" />
// responsive
<Box display={{ base: "none", md: "block" }} />
```
| Prop | CSS Property | Token Category |
| --------- | ------------ | -------------- |
| `display` | `display` | - |
## Hiding Elements
### Hide From
Use the `hideFrom` prop to hide an element from a specific breakpoint.
```jsx
<Box display="flex" hideFrom="md" />
```
| Prop | CSS Property | Token Category |
| ---------- | ------------ | -------------- |
| `hideFrom` | `display` | `breakpoints` |
### Hide Below
Use the `hideBelow` prop to hide an element below a specific breakpoint.
```jsx
<Box display="flex" hideBelow="md" />
```
| Prop | CSS Property | Token Category |
| ----------- | ------------ | -------------- |
| `hideBelow` | `display` | `breakpoints` |
|