You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
category: Components
|
|
|
|
type: Layout
|
|
|
|
title: Space
|
|
|
|
cols: 1
|
|
|
|
---
|
|
|
|
|
|
|
|
Set components spacing.
|
|
|
|
|
|
|
|
## When To Use
|
|
|
|
|
|
|
|
Avoid components clinging together and set a unified space.
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
|
|
|
| Property | Description | Type | Default | Version |
|
|
|
|
| --- | --- | --- | --- | --- |
|
|
|
|
| align | align items | `start` \| `end` \|`center` \|`baseline` | - | 4.2.0 |
|
|
|
|
| direction | space direction | `vertical` \| `horizontal` | `horizontal` | 4.1.0 |
|
|
|
|
| size | space size | `small` \| `middle` \| `large` \| `number` | `small` | 4.1.0 |
|