@@ -6,7 +6,7 @@ version: 2.0+
6
6
7
7
# Stack
8
8
9
- Stack is a layout utility component that makes it easy to stack elements together and apply a space between them. It composes the ` Flex ` component.
9
+ Stack is a layout utility component that makes it easy to stack elements together and apply a space between them. It composes the ` CFlex ` component.
10
10
11
11
## Import
12
12
@@ -34,12 +34,12 @@ import { CStack, CHStack, CVStack } from '@chakra-ui/vue-next';
34
34
``` html
35
35
<CStack :spacing =" 5" >
36
36
<CBox :p =" 5" shadow =" md" border-width =" 1px" >
37
- <CHeading >See the Vue</c-heading >
38
- <CText :mt =" 4" >Vue makes front-end development a breeze.</c-text >
37
+ <CHeading >See the Vue</CHeading >
38
+ <CText :mt =" 4" >Vue makes front-end development a breeze.</CText >
39
39
</CBox >
40
40
<CBox :p =" 5" shadow =" md" border-width =" 1px" >
41
- <CHeading >Go Nuxt!</c-heading >
42
- <CText :mt =" 4" >Nuxt makes writing Vue even easier.</c-text >
41
+ <CHeading >Go Nuxt!</CHeading >
42
+ <CText :mt =" 4" >Nuxt makes writing Vue even easier.</CText >
43
43
</CBox >
44
44
</CStack >
45
45
```
@@ -58,12 +58,12 @@ You can stack the items horizontally either:
58
58
``` html
59
59
<CStack :spacing =" 5" is-inline >
60
60
<CBox :p =" 5" shadow =" md" border-width =" 1px" >
61
- <CHeading >See the Vue</c-heading >
62
- <CText :mt =" 4" >Vue makes front-end development a breeze.</c-text >
61
+ <CHeading >See the Vue</CHeading >
62
+ <CText :mt =" 4" >Vue makes front-end development a breeze.</CText >
63
63
</CBox >
64
64
<CBox :p =" 5" shadow =" md" border-width =" 1px" >
65
- <CHeading >Go Nuxt!</c-heading >
66
- <CText :mt =" 4" >Nuxt makes writing Vue even easier.</c-text >
65
+ <CHeading >Go Nuxt!</CHeading >
66
+ <CText :mt =" 4" >Nuxt makes writing Vue even easier.</CText >
67
67
</CBox >
68
68
</CStack >
69
69
```
@@ -78,12 +78,12 @@ You can stack the items horizontally either:
78
78
``` html
79
79
<CHStack :spacing =" 5" >
80
80
<CBox :p =" 5" shadow =" md" border-width =" 1px" >
81
- <CHeading >See the Vue</c-heading >
82
- <CText :mt =" 4" >Vue makes front-end development a breeze.</c-text >
81
+ <CHeading >See the Vue</CHeading >
82
+ <CText :mt =" 4" >Vue makes front-end development a breeze.</CText >
83
83
</CBox >
84
84
<CBox :p =" 5" shadow =" md" border-width =" 1px" >
85
- <CHeading >Go Nuxt!</c-heading >
86
- <CText :mt =" 4" >Nuxt makes writing Vue even easier.</c-text >
85
+ <CHeading >Go Nuxt!</CHeading >
86
+ <CText :mt =" 4" >Nuxt makes writing Vue even easier.</CText >
87
87
</CBox >
88
88
</CHStack >
89
89
```
@@ -102,12 +102,12 @@ Set `direction` to `row-reverse` or `column-reverse`.
102
102
``` html
103
103
<CStack :spacing =" 5" is-reversed >
104
104
<CBox :p =" 5" shadow =" md" border-width =" 1px" >
105
- <CHeading >See the Vue</c-heading >
106
- <CText :mt =" 4" >Vue makes front-end development a breeze.</c-text >
105
+ <CHeading >See the Vue</CHeading >
106
+ <CText :mt =" 4" >Vue makes front-end development a breeze.</CText >
107
107
</CBox >
108
108
<CBox :p =" 5" shadow =" md" border-width =" 1px" >
109
- <CHeading >Go Nuxt!</c-heading >
110
- <CText :mt =" 4" >Nuxt makes writing Vue even easier.</c-text >
109
+ <CHeading >Go Nuxt!</CHeading >
110
+ <CText :mt =" 4" >Nuxt makes writing Vue even easier.</CText >
111
111
</CBox >
112
112
</CStack >
113
113
```
@@ -124,7 +124,7 @@ Set `direction` to `row-reverse` or `column-reverse`.
124
124
<CText >Chakra component 1</CText >
125
125
<p >HTML paragraph element</p >
126
126
<h3 >HTML heading element</h3 >
127
- <CText >Chakra component 2</c-text >
127
+ <CText >Chakra component 2</CText >
128
128
</CStack >
129
129
```
130
130
0 commit comments