You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| subtitle_text |`H4` or `H5` subtitle text, depending on `subtitle_heading_level`. |
19
-
| subtitle_heading_level | Heading level of the subtitles. May be `4` or `5`. Defaults to `5`. |
20
-
| highlight_images | If the images need to be [highlighted](https://vanillaframework.io/docs/patterns/images#highlighted-image). Not added by default. |
21
-
| image_aspect_ratio_small | The aspect ratio to apply to item images on [small screens](/docs/settings/breakpoint-settings). Can be any of the [image container aspect ratio identifiers](/docs/patterns/images#class-reference) or "auto" to use the image's original aspect ratio. Defaults to "square". |
22
-
| image_aspect_ratio_medium | The aspect ratio to apply to item images on [medium screens](/docs/settings/breakpoint-settings). Can be any of the [image container aspect ratio identifiers](/docs/patterns/images#class-reference) or "auto" to use the image's original aspect ratio. Defaults to "square". |
23
-
| image_aspect_ratio_large | The aspect ratio to apply to item images on [large screens](/docs/settings/breakpoint-settings). Can be any of the [image container aspect ratio identifiers](/docs/patterns/images#class-reference) or "auto" to use the image's original aspect ratio. Defaults to "2-3". |
24
-
| items (**required**) | An `Array<Object>` of individual item properties. |
25
-
| items[].title_text | The title for the item. |
26
-
| items[].title_link_attrs | Object of attributes of an <ahref="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a#attributes">anchor element</a> to link the title of item. |
27
-
| items[].description_html | The description for the item. |
28
-
| items[].image_html | The image element for the item. |
29
-
| items[].cta_html | The call to action element for the item. |
| Items (**required**) | A series of equal heights items. |
20
+
| Item title | Title for the item |
21
+
| Item description | Description for the item |
22
+
| Item image | Image for the item |
23
+
| Item CTA | Call to action for the item |
30
24
31
25
## 4 columns
32
26
@@ -38,7 +32,8 @@ View example of the equal heights pattern
38
32
39
33
## 3 columns
40
34
41
-
If the number of items is evenly divisible by 3, but not evenly divisible by 4 (for example, 6 items), the items will be laid out in 3 columns on large screens.
35
+
If the number of items is evenly divisible by 3, but not evenly divisible by 4 (for example, 6 items), the items will be
| Links (**required**) | A series of links and associated metadata. |
19
+
| Link image (**required**) | An image to display for the link. |
24
20
25
21
## Full width
26
22
@@ -32,23 +28,26 @@ View example of the linked logo section full-width pattern
32
28
33
29
## 50/50
34
30
35
-
This variant can be used for adding a header and the logo section in different columns. This should only be used when there's a maximum of 6 logos to avoid occupying too much vertical space.
31
+
This variant can be used for adding a header and the logo section in different columns. This should only be used when
32
+
there's a maximum of 6 logos to avoid occupying too much vertical space.
View example of the linked logo section 50-50 pattern
39
36
</a></div>
40
37
41
38
## 25/75
42
39
43
-
This variant can be used for adding a header and the logo section in different columns, but can accommodate up to 9 logos. Be aware that the heading only occupies 25% width here, so only very short titles would be appropriate here.
40
+
This variant can be used for adding a header and the logo section in different columns, but can accommodate up to 9
41
+
logos. Be aware that the heading only occupies 25% width here, so only very short titles would be appropriate here.
Copy file name to clipboardExpand all lines: templates/docs/patterns/pricing-block/index.md
+25-19Lines changed: 25 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,10 @@ context:
4
4
title: Pricing block | Patterns
5
5
---
6
6
7
-
The Pricing block pattern is used to display individual cards representing different tiers of pricing and their associated offerings, positioned below a title and a description of the product. It uses the 4-4-8 grid pattern with subgrid, to retain alignment between rows. There are three variations of the block layout, depending on the number of cards displayed, ranging from two to four:
7
+
The Pricing block pattern is used to display individual cards representing different tiers of pricing and their
8
+
associated offerings, positioned below a title and a description of the product. It uses the 4-4-8 grid pattern with
9
+
subgrid, to retain alignment between rows. There are three variations of the block layout, depending on the number of
10
+
cards displayed, ranging from two to four:
8
11
9
12
- 4 blocks, 25-25-25-25 split
10
13
- 3 blocks, 25-75 split
@@ -16,24 +19,24 @@ The Pricing block pattern is used to display individual cards representing diffe
16
19
17
20
The Pricing block pattern is composed of the following elements:
@@ -73,23 +76,26 @@ View example of the pricing block with a description
73
76
74
77
## Block with a highlighted rule
75
78
76
-
A pricing block with a <ahref="https://vanillaframework.io/docs/patterns/rule#highlighted">highlighted rule</a> at the top, instead of the <ahref="https://vanillaframework.io/docs/patterns/rule#default">default rule</a>
79
+
A pricing block with a <ahref="https://vanillaframework.io/docs/patterns/rule#highlighted">highlighted rule</a> at the
80
+
top, instead of the <ahref="https://vanillaframework.io/docs/patterns/rule#default">default rule</a>
View example of the pricing block with description and a highlighted rule
80
84
</a></div>
81
85
82
86
## Block with a muted rule
83
87
84
-
A pricing block with a <ahref="https://vanillaframework.io/docs/patterns/rule#muted">muted rule</a> at the top, instead of the <ahref="https://vanillaframework.io/docs/patterns/rule#default">default rule</a>
88
+
A pricing block with a <ahref="https://vanillaframework.io/docs/patterns/rule#muted">muted rule</a> at the top, instead
89
+
of the <ahref="https://vanillaframework.io/docs/patterns/rule#default">default rule</a>
0 commit comments