@lowdefy/blocks-antd 5.6.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/TagPillRow.js +88 -0
- package/dist/blocks/Affix/gallery.yaml +399 -0
- package/dist/blocks/Affix/tests/Affix.e2e.yaml +72 -0
- package/dist/blocks/Affix/tests.yaml +29 -0
- package/dist/blocks/Alert/gallery.yaml +701 -0
- package/dist/blocks/Alert/tests/Alert.e2e.yaml +161 -0
- package/dist/blocks/Alert/tests.yaml +261 -0
- package/dist/blocks/AutoComplete/gallery.yaml +713 -0
- package/dist/blocks/AutoComplete/tests/AutoComplete.e2e.yaml +330 -0
- package/dist/blocks/AutoComplete/tests.yaml +178 -0
- package/dist/blocks/Avatar/gallery.yaml +1037 -0
- package/dist/blocks/Avatar/tests/Avatar.e2e.yaml +125 -0
- package/dist/blocks/Avatar/tests.yaml +76 -0
- package/dist/blocks/Badge/gallery.yaml +1090 -0
- package/dist/blocks/Badge/tests/Badge.e2e.yaml +195 -0
- package/dist/blocks/Badge/tests.yaml +91 -0
- package/dist/blocks/Breadcrumb/gallery.yaml +484 -0
- package/dist/blocks/Breadcrumb/tests/Breadcrumb.e2e.yaml +165 -0
- package/dist/blocks/Breadcrumb/tests.yaml +106 -0
- package/dist/blocks/Button/gallery.yaml +718 -0
- package/dist/blocks/Button/tests/Button.e2e.yaml +246 -0
- package/dist/blocks/Button/tests.yaml +104 -0
- package/dist/blocks/ButtonSelector/gallery.yaml +891 -0
- package/dist/blocks/ButtonSelector/tests/ButtonSelector.e2e.yaml +188 -0
- package/dist/blocks/ButtonSelector/tests.yaml +167 -0
- package/dist/blocks/Calendar/gallery.yaml +128 -0
- package/dist/blocks/Calendar/tests/Calendar.e2e.yaml +136 -0
- package/dist/blocks/Calendar/tests.yaml +50 -0
- package/dist/blocks/Card/gallery.yaml +1035 -0
- package/dist/blocks/Card/tests/Card.e2e.yaml +209 -0
- package/dist/blocks/Card/tests.yaml +75 -0
- package/dist/blocks/Carousel/gallery.yaml +1971 -0
- package/dist/blocks/Carousel/tests/Carousel.e2e.yaml +211 -0
- package/dist/blocks/Carousel/tests.yaml +117 -0
- package/dist/blocks/CheckboxSelector/gallery.yaml +781 -0
- package/dist/blocks/CheckboxSelector/tests/CheckboxSelector.e2e.yaml +272 -0
- package/dist/blocks/CheckboxSelector/tests.yaml +325 -0
- package/dist/blocks/CheckboxSwitch/gallery.yaml +457 -0
- package/dist/blocks/CheckboxSwitch/tests/CheckboxSwitch.e2e.yaml +126 -0
- package/dist/blocks/CheckboxSwitch/tests.yaml +96 -0
- package/dist/blocks/Collapse/gallery.yaml +1079 -0
- package/dist/blocks/Collapse/tests/Collapse.e2e.yaml +206 -0
- package/dist/blocks/Collapse/tests.yaml +265 -0
- package/dist/blocks/ColorSelector/gallery.yaml +807 -0
- package/dist/blocks/ColorSelector/tests/ColorSelector.e2e.yaml +77 -0
- package/dist/blocks/ColorSelector/tests.yaml +84 -0
- package/dist/blocks/ConfigProvider/gallery.yaml +1003 -0
- package/dist/blocks/ConfigProvider/tests.yaml +62 -0
- package/dist/blocks/ConfirmModal/gallery.yaml +1043 -0
- package/dist/blocks/ConfirmModal/tests/ConfirmModal.e2e.yaml +410 -0
- package/dist/blocks/ConfirmModal/tests.yaml +95 -0
- package/dist/blocks/Content/gallery.yaml +528 -0
- package/dist/blocks/Content/tests/Content.e2e.yaml +71 -0
- package/dist/blocks/Content/tests.yaml +42 -0
- package/dist/blocks/ControlledList/ControlledList.js +1 -1
- package/dist/blocks/ControlledList/gallery.yaml +481 -0
- package/dist/blocks/ControlledList/{style.module.css → style.css} +3 -3
- package/dist/blocks/ControlledList/tests/ControlledList.e2e.yaml +161 -0
- package/dist/blocks/ControlledList/tests.yaml +57 -0
- package/dist/blocks/DateRangeSelector/DateRangeSelector.js +7 -0
- package/dist/blocks/DateRangeSelector/e2e.js +28 -2
- package/dist/blocks/DateRangeSelector/gallery.yaml +858 -0
- package/dist/blocks/DateRangeSelector/meta.js +2 -0
- package/dist/blocks/DateRangeSelector/tests/DateRangeSelector.e2e.yaml +204 -0
- package/dist/blocks/DateRangeSelector/tests.yaml +129 -0
- package/dist/blocks/DateSelector/DateSelector.js +6 -0
- package/dist/blocks/DateSelector/e2e.js +28 -2
- package/dist/blocks/DateSelector/gallery.yaml +691 -0
- package/dist/blocks/DateSelector/meta.js +6 -0
- package/dist/blocks/DateSelector/tests/DateSelector.e2e.yaml +229 -0
- package/dist/blocks/DateSelector/tests.yaml +117 -0
- package/dist/blocks/DateTimeSelector/DateTimeSelector.js +7 -0
- package/dist/blocks/DateTimeSelector/e2e.js +26 -2
- package/dist/blocks/DateTimeSelector/gallery.yaml +770 -0
- package/dist/blocks/DateTimeSelector/meta.js +2 -0
- package/dist/blocks/DateTimeSelector/tests/DateTimeSelector.e2e.yaml +163 -0
- package/dist/blocks/DateTimeSelector/tests.yaml +140 -0
- package/dist/blocks/Descriptions/gallery.yaml +839 -0
- package/dist/blocks/Descriptions/tests/Descriptions.e2e.yaml +143 -0
- package/dist/blocks/Descriptions/tests.yaml +256 -0
- package/dist/blocks/Divider/gallery.yaml +375 -0
- package/dist/blocks/Divider/tests/Divider.e2e.yaml +107 -0
- package/dist/blocks/Divider/tests.yaml +58 -0
- package/dist/blocks/Drawer/gallery.yaml +1257 -0
- package/dist/blocks/Drawer/tests/Drawer.e2e.yaml +562 -0
- package/dist/blocks/Drawer/tests.yaml +80 -0
- package/dist/blocks/DropdownButton/gallery.yaml +606 -0
- package/dist/blocks/DropdownButton/tests/DropdownButton.e2e.yaml +243 -0
- package/dist/blocks/DropdownMenu/gallery.yaml +578 -0
- package/dist/blocks/DropdownMenu/tests/DropdownMenu.e2e.yaml +267 -0
- package/dist/blocks/Flex/gallery.yaml +1416 -0
- package/dist/blocks/Flex/tests/Flex.e2e.yaml +95 -0
- package/dist/blocks/Flex/tests.yaml +92 -0
- package/dist/blocks/FloatButton/gallery.yaml +518 -0
- package/dist/blocks/FloatButton/tests/FloatButton.e2e.yaml +73 -0
- package/dist/blocks/FloatButton/tests.yaml +59 -0
- package/dist/blocks/Footer/gallery.yaml +355 -0
- package/dist/blocks/Footer/tests/Footer.e2e.yaml +70 -0
- package/dist/blocks/Footer/tests.yaml +28 -0
- package/dist/blocks/Header/gallery.yaml +249 -0
- package/dist/blocks/Header/tests/Header.e2e.yaml +77 -0
- package/dist/blocks/Header/tests.yaml +36 -0
- package/dist/blocks/Label/Label.js +1 -1
- package/dist/blocks/Label/gallery.yaml +762 -0
- package/dist/blocks/Label/{style.module.css → style.css} +28 -28
- package/dist/blocks/Label/tests/Label.e2e.yaml +247 -0
- package/dist/blocks/Label/tests.yaml +212 -0
- package/dist/blocks/Layout/gallery.yaml +548 -0
- package/dist/blocks/Layout/tests/Layout.e2e.yaml +86 -0
- package/dist/blocks/Layout/tests.yaml +28 -0
- package/dist/blocks/ListSelector/gallery.yaml +223 -0
- package/dist/blocks/Masonry/gallery.yaml +989 -0
- package/dist/blocks/Masonry/tests/Masonry.e2e.yaml +128 -0
- package/dist/blocks/Masonry/tests.yaml +42 -0
- package/dist/blocks/MasonryList/gallery.yaml +224 -0
- package/dist/blocks/MasonryList/tests/MasonryList.e2e.yaml +55 -0
- package/dist/blocks/MasonryList/tests.yaml +42 -0
- package/dist/blocks/Menu/gallery.yaml +974 -0
- package/dist/blocks/Menu/tests/Menu.e2e.yaml +484 -0
- package/dist/blocks/Menu/tests.yaml +1053 -0
- package/dist/blocks/Message/gallery.yaml +860 -0
- package/dist/blocks/Message/tests/Message.e2e.yaml +246 -0
- package/dist/blocks/Message/tests.yaml +54 -0
- package/dist/blocks/MobileMenu/gallery.yaml +1172 -0
- package/dist/blocks/MobileMenu/tests/MobileMenu.e2e.yaml +314 -0
- package/dist/blocks/MobileMenu/tests.yaml +359 -0
- package/dist/blocks/Modal/gallery.yaml +1039 -0
- package/dist/blocks/Modal/tests/Modal.e2e.yaml +493 -0
- package/dist/blocks/Modal/tests.yaml +75 -0
- package/dist/blocks/MonthSelector/MonthSelector.js +6 -0
- package/dist/blocks/MonthSelector/e2e.js +26 -2
- package/dist/blocks/MonthSelector/gallery.yaml +687 -0
- package/dist/blocks/MonthSelector/meta.js +6 -0
- package/dist/blocks/MonthSelector/tests/MonthSelector.e2e.yaml +167 -0
- package/dist/blocks/MonthSelector/tests.yaml +124 -0
- package/dist/blocks/MultipleSelector/gallery.yaml +1245 -0
- package/dist/blocks/MultipleSelector/tests/MultipleSelector.e2e.yaml +445 -0
- package/dist/blocks/MultipleSelector/tests.yaml +201 -0
- package/dist/blocks/Notification/gallery.yaml +1376 -0
- package/dist/blocks/Notification/tests/Notification.e2e.yaml +362 -0
- package/dist/blocks/Notification/tests.yaml +97 -0
- package/dist/blocks/NumberInput/gallery.yaml +753 -0
- package/dist/blocks/NumberInput/tests/NumberInput.e2e.yaml +228 -0
- package/dist/blocks/NumberInput/tests.yaml +116 -0
- package/dist/blocks/PageHeaderMenu/PageHeaderMenu.js +1 -1
- package/dist/blocks/PageHeaderMenu/gallery.yaml +480 -0
- package/dist/blocks/PageHeaderMenu/tests/PageHeaderMenu.e2e.yaml +110 -0
- package/dist/blocks/PageHeaderMenu/tests.yaml +173 -0
- package/dist/blocks/PageSidebarLayout/PageSidebarLayout.js +10 -1
- package/dist/blocks/PageSidebarLayout/gallery.yaml +302 -0
- package/dist/blocks/PageSidebarLayout/meta.js +1 -0
- package/dist/blocks/PageSidebarLayout/tests/PageSidebarLayout.e2e.yaml +216 -0
- package/dist/blocks/PageSidebarLayout/tests.yaml +174 -0
- package/dist/blocks/PageSiderMenu/PageSiderMenu.js +1 -1
- package/dist/blocks/PageSiderMenu/gallery.yaml +516 -0
- package/dist/blocks/PageSiderMenu/tests/PageSiderMenu.e2e.yaml +175 -0
- package/dist/blocks/PageSiderMenu/tests.yaml +211 -0
- package/dist/blocks/Pagination/gallery.yaml +503 -0
- package/dist/blocks/Pagination/tests/Pagination.e2e.yaml +159 -0
- package/dist/blocks/Pagination/tests.yaml +80 -0
- package/dist/blocks/Paragraph/gallery.yaml +458 -0
- package/dist/blocks/Paragraph/tests/Paragraph.e2e.yaml +153 -0
- package/dist/blocks/Paragraph/tests.yaml +176 -0
- package/dist/blocks/ParagraphInput/gallery.yaml +1483 -0
- package/dist/blocks/ParagraphInput/tests/ParagraphInput.e2e.yaml +189 -0
- package/dist/blocks/ParagraphInput/tests.yaml +163 -0
- package/dist/blocks/PasswordInput/gallery.yaml +420 -0
- package/dist/blocks/PasswordInput/tests/PasswordInput.e2e.yaml +188 -0
- package/dist/blocks/PasswordInput/tests.yaml +78 -0
- package/dist/blocks/PhoneNumberInput/gallery.yaml +677 -0
- package/dist/blocks/PhoneNumberInput/tests/PhoneNumberInput.e2e.yaml +279 -0
- package/dist/blocks/PhoneNumberInput/tests.yaml +25 -0
- package/dist/blocks/Popover/gallery.yaml +1301 -0
- package/dist/blocks/Popover/tests/Popover.e2e.yaml +249 -0
- package/dist/blocks/Popover/tests.yaml +105 -0
- package/dist/blocks/Progress/gallery.yaml +772 -0
- package/dist/blocks/Progress/tests/Progress.e2e.yaml +167 -0
- package/dist/blocks/Progress/tests.yaml +114 -0
- package/dist/blocks/QRCode/gallery.yaml +492 -0
- package/dist/blocks/QRCode/tests/QRCode.e2e.yaml +66 -0
- package/dist/blocks/QRCode/tests.yaml +113 -0
- package/dist/blocks/RadioSelector/gallery.yaml +816 -0
- package/dist/blocks/RadioSelector/tests/RadioSelector.e2e.yaml +269 -0
- package/dist/blocks/RadioSelector/tests.yaml +339 -0
- package/dist/blocks/RatingSlider/gallery.yaml +627 -0
- package/dist/blocks/RatingSlider/tests/RatingSlider.e2e.yaml +188 -0
- package/dist/blocks/RatingSlider/tests.yaml +116 -0
- package/dist/blocks/Result/gallery.yaml +925 -0
- package/dist/blocks/Result/tests/Result.e2e.yaml +126 -0
- package/dist/blocks/Result/tests.yaml +75 -0
- package/dist/blocks/Search/Search.js +1 -1
- package/dist/blocks/Search/SearchModal.js +18 -9
- package/dist/blocks/Search/gallery.yaml +170 -0
- package/dist/blocks/Search/meta.js +2 -1
- package/dist/blocks/Search/{style.module.css → style.css} +19 -12
- package/dist/blocks/Search/tests/Search.e2e.yaml +125 -0
- package/dist/blocks/Search/useSearchIndex.js +24 -2
- package/dist/blocks/SegmentedSelector/gallery.yaml +725 -0
- package/dist/blocks/SegmentedSelector/tests/SegmentedSelector.e2e.yaml +115 -0
- package/dist/blocks/SegmentedSelector/tests.yaml +141 -0
- package/dist/blocks/Selector/gallery.yaml +1055 -0
- package/dist/blocks/Selector/tests/Selector.e2e.yaml +427 -0
- package/dist/blocks/Selector/tests.yaml +196 -0
- package/dist/blocks/Sider/gallery.yaml +994 -0
- package/dist/blocks/Sider/tests/Sider.e2e.yaml +162 -0
- package/dist/blocks/Sider/tests.yaml +20 -0
- package/dist/blocks/Slider/gallery.yaml +600 -0
- package/dist/blocks/Slider/tests/Slider.e2e.yaml +190 -0
- package/dist/blocks/Slider/tests.yaml +68 -0
- package/dist/blocks/Splitter/gallery.yaml +1511 -0
- package/dist/blocks/Splitter/tests/Splitter.e2e.yaml +114 -0
- package/dist/blocks/Splitter/tests.yaml +79 -0
- package/dist/blocks/Statistic/gallery.yaml +460 -0
- package/dist/blocks/Statistic/tests/Statistic.e2e.yaml +137 -0
- package/dist/blocks/Statistic/tests.yaml +77 -0
- package/dist/blocks/Steps/gallery.yaml +550 -0
- package/dist/blocks/Switch/gallery.yaml +502 -0
- package/dist/blocks/Switch/tests/Switch.e2e.yaml +132 -0
- package/dist/blocks/Switch/tests.yaml +87 -0
- package/dist/blocks/Tabs/gallery.yaml +1353 -0
- package/dist/blocks/Tabs/tests/Tabs.e2e.yaml +370 -0
- package/dist/blocks/Tabs/tests.yaml +349 -0
- package/dist/blocks/Tag/gallery.yaml +598 -0
- package/dist/blocks/Tag/tests/Tag.e2e.yaml +173 -0
- package/dist/blocks/Tag/tests.yaml +51 -0
- package/dist/blocks/TagMultipleSelector/TagMultipleSelector.js +53 -0
- package/dist/blocks/TagMultipleSelector/e2e.js +36 -0
- package/dist/blocks/TagMultipleSelector/gallery.yaml +70 -0
- package/dist/blocks/TagMultipleSelector/meta.js +91 -0
- package/dist/blocks/TagMultipleSelector/tests/TagMultipleSelector.e2e.yaml +93 -0
- package/dist/blocks/TagSelector/TagSelector.js +49 -0
- package/dist/blocks/TagSelector/e2e.js +36 -0
- package/dist/blocks/TagSelector/gallery.yaml +70 -0
- package/dist/blocks/TagSelector/meta.js +91 -0
- package/dist/blocks/TagSelector/tests/TagSelector.e2e.yaml +93 -0
- package/dist/blocks/TextArea/gallery.yaml +618 -0
- package/dist/blocks/TextArea/tests/TextArea.e2e.yaml +218 -0
- package/dist/blocks/TextArea/tests.yaml +100 -0
- package/dist/blocks/TextInput/gallery.yaml +560 -0
- package/dist/blocks/TextInput/tests/TextInput.e2e.yaml +287 -0
- package/dist/blocks/TextInput/tests.yaml +114 -0
- package/dist/blocks/TimelineList/gallery.yaml +431 -0
- package/dist/blocks/TimelineList/tests/TimelineList.e2e.yaml +244 -0
- package/dist/blocks/TimelineList/tests.yaml +251 -0
- package/dist/blocks/Title/gallery.yaml +483 -0
- package/dist/blocks/Title/tests/Title.e2e.yaml +180 -0
- package/dist/blocks/Title/tests.yaml +175 -0
- package/dist/blocks/TitleInput/gallery.yaml +1006 -0
- package/dist/blocks/TitleInput/tests/TitleInput.e2e.yaml +195 -0
- package/dist/blocks/TitleInput/tests.yaml +181 -0
- package/dist/blocks/Tooltip/gallery.yaml +1214 -0
- package/dist/blocks/Tooltip/tests/Tooltip.e2e.yaml +195 -0
- package/dist/blocks/Tooltip/tests.yaml +92 -0
- package/dist/blocks/Tour/gallery.yaml +2305 -0
- package/dist/blocks/Tour/tests/Tour.e2e.yaml +90 -0
- package/dist/blocks/Tour/tests.yaml +151 -0
- package/dist/blocks/TreeInput/gallery.yaml +78 -0
- package/dist/blocks/TreeInput/tests/TreeInput.e2e.yaml +139 -0
- package/dist/blocks/TreeInput/tests.yaml +140 -0
- package/dist/blocks/TreeMultipleSelector/gallery.yaml +67 -0
- package/dist/blocks/TreeSelector/gallery.yaml +81 -0
- package/dist/blocks/Watermark/gallery.yaml +479 -0
- package/dist/blocks/Watermark/tests/Watermark.e2e.yaml +62 -0
- package/dist/blocks/Watermark/tests.yaml +86 -0
- package/dist/blocks/WeekSelector/WeekSelector.js +6 -0
- package/dist/blocks/WeekSelector/e2e.js +26 -2
- package/dist/blocks/WeekSelector/gallery.yaml +589 -0
- package/dist/blocks/WeekSelector/meta.js +6 -0
- package/dist/blocks/WeekSelector/tests/WeekSelector.e2e.yaml +154 -0
- package/dist/blocks/WeekSelector/tests.yaml +122 -0
- package/dist/blocks.js +2 -0
- package/dist/disabledDate.js +91 -19
- package/dist/e2e.js +2 -0
- package/dist/getPresets.js +151 -0
- package/dist/getTagColor.js +44 -0
- package/dist/getTagSelectorOptions.js +30 -0
- package/dist/metas.js +2 -0
- package/dist/pickerPresetsStyle.css +26 -0
- package/dist/schemas/disabledDates.js +6 -2
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/presets.js +111 -0
- package/dist/tagSelectorStyle.css +68 -0
- package/package.json +13 -13
|
@@ -0,0 +1,1035 @@
|
|
|
1
|
+
# Copyright 2020-2026 Lowdefy, Inc
|
|
2
|
+
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
- title: Basic Card
|
|
16
|
+
blocks:
|
|
17
|
+
- id: basic_card
|
|
18
|
+
type: Card
|
|
19
|
+
properties:
|
|
20
|
+
title: Card Title
|
|
21
|
+
blocks:
|
|
22
|
+
- id: basic_card_p1
|
|
23
|
+
type: Paragraph
|
|
24
|
+
properties:
|
|
25
|
+
content: Cards provide a flexible and extensible content container with multiple variants. This is the default card with a simple title and body content.
|
|
26
|
+
- id: basic_card_p2
|
|
27
|
+
type: Paragraph
|
|
28
|
+
properties:
|
|
29
|
+
content: You can place any blocks inside the card body using the standard blocks key.
|
|
30
|
+
|
|
31
|
+
- id: basic_no_title
|
|
32
|
+
type: Card
|
|
33
|
+
blocks:
|
|
34
|
+
- id: basic_no_title_content
|
|
35
|
+
type: Paragraph
|
|
36
|
+
properties:
|
|
37
|
+
content: A card without a title. The header area is completely hidden, leaving only the body content. Useful as a simple elevated content container.
|
|
38
|
+
|
|
39
|
+
- title: Sizes
|
|
40
|
+
blocks:
|
|
41
|
+
- id: size_default_card
|
|
42
|
+
type: Card
|
|
43
|
+
layout:
|
|
44
|
+
flex: 1 1 0
|
|
45
|
+
properties:
|
|
46
|
+
title: Default Size
|
|
47
|
+
size: default
|
|
48
|
+
blocks:
|
|
49
|
+
- id: size_default_p
|
|
50
|
+
type: Paragraph
|
|
51
|
+
properties:
|
|
52
|
+
content: Default size card with standard padding (24px) and normal header height (56px). This is the most common card size for general content.
|
|
53
|
+
- id: size_default_row
|
|
54
|
+
type: Box
|
|
55
|
+
layout:
|
|
56
|
+
gap: 8
|
|
57
|
+
blocks:
|
|
58
|
+
- id: size_default_tag1
|
|
59
|
+
type: Tag
|
|
60
|
+
properties:
|
|
61
|
+
title: Standard
|
|
62
|
+
color: blue
|
|
63
|
+
- id: size_default_tag2
|
|
64
|
+
type: Tag
|
|
65
|
+
properties:
|
|
66
|
+
title: 24px padding
|
|
67
|
+
color: default
|
|
68
|
+
|
|
69
|
+
- id: size_small_card
|
|
70
|
+
type: Card
|
|
71
|
+
layout:
|
|
72
|
+
flex: 1 1 0
|
|
73
|
+
properties:
|
|
74
|
+
title: Small Size
|
|
75
|
+
size: small
|
|
76
|
+
blocks:
|
|
77
|
+
- id: size_small_p
|
|
78
|
+
type: Paragraph
|
|
79
|
+
properties:
|
|
80
|
+
content: Small size card with compact padding (12px) and shorter header (38px). Ideal for dense layouts, dashboards, or sidebar widgets.
|
|
81
|
+
- id: size_small_row
|
|
82
|
+
type: Box
|
|
83
|
+
layout:
|
|
84
|
+
gap: 8
|
|
85
|
+
blocks:
|
|
86
|
+
- id: size_small_tag1
|
|
87
|
+
type: Tag
|
|
88
|
+
properties:
|
|
89
|
+
title: Compact
|
|
90
|
+
color: green
|
|
91
|
+
- id: size_small_tag2
|
|
92
|
+
type: Tag
|
|
93
|
+
properties:
|
|
94
|
+
title: 12px padding
|
|
95
|
+
color: default
|
|
96
|
+
|
|
97
|
+
- title: Bordered vs Borderless
|
|
98
|
+
blocks:
|
|
99
|
+
- id: border_wrapper
|
|
100
|
+
type: Box
|
|
101
|
+
class: bg-bg-layout p-6 rounded-lg
|
|
102
|
+
layout:
|
|
103
|
+
gap: 16
|
|
104
|
+
blocks:
|
|
105
|
+
- id: bordered_card
|
|
106
|
+
type: Card
|
|
107
|
+
layout:
|
|
108
|
+
flex: 1 1 0
|
|
109
|
+
properties:
|
|
110
|
+
title: Bordered (default)
|
|
111
|
+
bordered: true
|
|
112
|
+
blocks:
|
|
113
|
+
- id: bordered_content
|
|
114
|
+
type: Paragraph
|
|
115
|
+
properties:
|
|
116
|
+
content: The default card has a visible border. This clearly separates the card from its surroundings.
|
|
117
|
+
|
|
118
|
+
- id: borderless_card
|
|
119
|
+
type: Card
|
|
120
|
+
layout:
|
|
121
|
+
flex: 1 1 0
|
|
122
|
+
properties:
|
|
123
|
+
title: Borderless
|
|
124
|
+
bordered: false
|
|
125
|
+
blocks:
|
|
126
|
+
- id: borderless_content
|
|
127
|
+
type: Paragraph
|
|
128
|
+
properties:
|
|
129
|
+
content: A borderless card blends into its container. Best used on colored backgrounds where the card's white fill provides enough contrast.
|
|
130
|
+
|
|
131
|
+
- title: Card with Extra Slot
|
|
132
|
+
blocks:
|
|
133
|
+
- id: extra_text_card
|
|
134
|
+
type: Card
|
|
135
|
+
properties:
|
|
136
|
+
title: Recent Activity
|
|
137
|
+
slots:
|
|
138
|
+
extra:
|
|
139
|
+
blocks:
|
|
140
|
+
- id: extra_text_link
|
|
141
|
+
type: Button
|
|
142
|
+
layout:
|
|
143
|
+
flex: 0 0 auto
|
|
144
|
+
properties:
|
|
145
|
+
title: View All
|
|
146
|
+
color: primary
|
|
147
|
+
variant: link
|
|
148
|
+
size: small
|
|
149
|
+
blocks:
|
|
150
|
+
- id: extra_text_p1
|
|
151
|
+
type: Paragraph
|
|
152
|
+
properties:
|
|
153
|
+
content: 'User John updated the project settings 2 minutes ago.'
|
|
154
|
+
- id: extra_text_p2
|
|
155
|
+
type: Paragraph
|
|
156
|
+
properties:
|
|
157
|
+
content: 'User Sarah added 3 new team members 15 minutes ago.'
|
|
158
|
+
- id: extra_text_p3
|
|
159
|
+
type: Paragraph
|
|
160
|
+
properties:
|
|
161
|
+
content: 'Deployment completed successfully 1 hour ago.'
|
|
162
|
+
|
|
163
|
+
- id: extra_buttons_card
|
|
164
|
+
type: Card
|
|
165
|
+
properties:
|
|
166
|
+
title: Project Settings
|
|
167
|
+
slots:
|
|
168
|
+
extra:
|
|
169
|
+
blocks:
|
|
170
|
+
- id: extra_btn_row
|
|
171
|
+
type: Box
|
|
172
|
+
layout:
|
|
173
|
+
gap: 8
|
|
174
|
+
blocks:
|
|
175
|
+
- id: extra_btn_edit
|
|
176
|
+
type: Button
|
|
177
|
+
layout:
|
|
178
|
+
flex: 0 0 auto
|
|
179
|
+
properties:
|
|
180
|
+
title: Edit
|
|
181
|
+
icon: AiOutlineEdit
|
|
182
|
+
color: primary
|
|
183
|
+
variant: outlined
|
|
184
|
+
size: small
|
|
185
|
+
- id: extra_btn_more
|
|
186
|
+
type: Button
|
|
187
|
+
layout:
|
|
188
|
+
flex: 0 0 auto
|
|
189
|
+
properties:
|
|
190
|
+
icon: AiOutlineEllipsis
|
|
191
|
+
color: default
|
|
192
|
+
variant: text
|
|
193
|
+
size: small
|
|
194
|
+
hideTitle: true
|
|
195
|
+
blocks:
|
|
196
|
+
- id: extra_buttons_content
|
|
197
|
+
type: Paragraph
|
|
198
|
+
properties:
|
|
199
|
+
content: The extra slot renders content in the top-right corner of the card header, next to the title. It accepts any blocks, commonly used for action buttons or links.
|
|
200
|
+
|
|
201
|
+
- title: Card with Title Slot
|
|
202
|
+
blocks:
|
|
203
|
+
- id: title_slot_card
|
|
204
|
+
type: Card
|
|
205
|
+
slots:
|
|
206
|
+
title:
|
|
207
|
+
blocks:
|
|
208
|
+
- id: title_slot_row
|
|
209
|
+
type: Box
|
|
210
|
+
layout:
|
|
211
|
+
gap: 12
|
|
212
|
+
align: center
|
|
213
|
+
blocks:
|
|
214
|
+
- id: title_slot_avatar
|
|
215
|
+
type: Avatar
|
|
216
|
+
layout:
|
|
217
|
+
flex: 0 0 auto
|
|
218
|
+
properties:
|
|
219
|
+
icon: AiOutlineUser
|
|
220
|
+
color: '#1677ff'
|
|
221
|
+
- id: title_slot_text
|
|
222
|
+
type: Title
|
|
223
|
+
layout:
|
|
224
|
+
flex: 0 0 auto
|
|
225
|
+
properties:
|
|
226
|
+
content: Custom Title Layout
|
|
227
|
+
level: 5
|
|
228
|
+
blocks:
|
|
229
|
+
- id: title_slot_content
|
|
230
|
+
type: Paragraph
|
|
231
|
+
properties:
|
|
232
|
+
content: The title slot lets you replace the default text title with any combination of blocks. Here we use an Avatar and Title block side by side. This overrides the properties.title string.
|
|
233
|
+
|
|
234
|
+
- id: title_slot_badge_card
|
|
235
|
+
type: Card
|
|
236
|
+
slots:
|
|
237
|
+
title:
|
|
238
|
+
blocks:
|
|
239
|
+
- id: title_badge_row
|
|
240
|
+
type: Box
|
|
241
|
+
layout:
|
|
242
|
+
gap: 8
|
|
243
|
+
align: center
|
|
244
|
+
blocks:
|
|
245
|
+
- id: title_badge_text
|
|
246
|
+
type: Title
|
|
247
|
+
layout:
|
|
248
|
+
flex: 0 0 auto
|
|
249
|
+
properties:
|
|
250
|
+
content: Notifications
|
|
251
|
+
level: 5
|
|
252
|
+
- id: title_badge_tag
|
|
253
|
+
type: Tag
|
|
254
|
+
layout:
|
|
255
|
+
flex: 0 0 auto
|
|
256
|
+
properties:
|
|
257
|
+
title: '12 new'
|
|
258
|
+
color: red
|
|
259
|
+
extra:
|
|
260
|
+
blocks:
|
|
261
|
+
- id: title_badge_extra_btn
|
|
262
|
+
type: Button
|
|
263
|
+
layout:
|
|
264
|
+
flex: 0 0 auto
|
|
265
|
+
properties:
|
|
266
|
+
title: Mark all read
|
|
267
|
+
color: primary
|
|
268
|
+
variant: link
|
|
269
|
+
size: small
|
|
270
|
+
blocks:
|
|
271
|
+
- id: title_badge_content
|
|
272
|
+
type: Paragraph
|
|
273
|
+
properties:
|
|
274
|
+
content: Combining the title slot with the extra slot gives you full control over the entire header area.
|
|
275
|
+
|
|
276
|
+
- title: Card with Cover Slot
|
|
277
|
+
blocks:
|
|
278
|
+
- id: cover_card_1
|
|
279
|
+
type: Card
|
|
280
|
+
layout:
|
|
281
|
+
flex: 1 1 0
|
|
282
|
+
properties:
|
|
283
|
+
title: Mountain Landscape
|
|
284
|
+
hoverable: true
|
|
285
|
+
slots:
|
|
286
|
+
cover:
|
|
287
|
+
blocks:
|
|
288
|
+
- id: cover_img_1
|
|
289
|
+
type: Html
|
|
290
|
+
properties:
|
|
291
|
+
html: '<img alt="landscape" src="https://picsum.photos/seed/mountain/600/300" style="width:100%; display:block;" />'
|
|
292
|
+
blocks:
|
|
293
|
+
- id: cover_card_1_desc
|
|
294
|
+
type: Paragraph
|
|
295
|
+
properties:
|
|
296
|
+
content: The cover slot renders content above the card body, typically used for images. It sits outside the body padding for edge-to-edge display.
|
|
297
|
+
|
|
298
|
+
- id: cover_card_2
|
|
299
|
+
type: Card
|
|
300
|
+
layout:
|
|
301
|
+
flex: 1 1 0
|
|
302
|
+
properties:
|
|
303
|
+
hoverable: true
|
|
304
|
+
slots:
|
|
305
|
+
cover:
|
|
306
|
+
blocks:
|
|
307
|
+
- id: cover_img_2
|
|
308
|
+
type: Html
|
|
309
|
+
properties:
|
|
310
|
+
html: '<img alt="architecture" src="https://picsum.photos/seed/building/600/300" style="width:100%; display:block;" />'
|
|
311
|
+
blocks:
|
|
312
|
+
- id: cover_card_2_title
|
|
313
|
+
type: Title
|
|
314
|
+
properties:
|
|
315
|
+
content: Architecture Photography
|
|
316
|
+
level: 5
|
|
317
|
+
- id: cover_card_2_desc
|
|
318
|
+
type: Paragraph
|
|
319
|
+
properties:
|
|
320
|
+
content: A cover card without a header title. The title is placed inside the body instead, giving a magazine-style layout.
|
|
321
|
+
- id: cover_card_2_tags
|
|
322
|
+
type: Box
|
|
323
|
+
layout:
|
|
324
|
+
gap: 8
|
|
325
|
+
blocks:
|
|
326
|
+
- id: cover_card_2_tag1
|
|
327
|
+
type: Tag
|
|
328
|
+
properties:
|
|
329
|
+
title: Photography
|
|
330
|
+
color: blue
|
|
331
|
+
- id: cover_card_2_tag2
|
|
332
|
+
type: Tag
|
|
333
|
+
properties:
|
|
334
|
+
title: Featured
|
|
335
|
+
color: gold
|
|
336
|
+
|
|
337
|
+
- title: Inner Cards
|
|
338
|
+
blocks:
|
|
339
|
+
- id: inner_outer
|
|
340
|
+
type: Card
|
|
341
|
+
properties:
|
|
342
|
+
title: Group Title
|
|
343
|
+
slots:
|
|
344
|
+
extra:
|
|
345
|
+
blocks:
|
|
346
|
+
- id: inner_outer_extra
|
|
347
|
+
type: Button
|
|
348
|
+
layout:
|
|
349
|
+
flex: 0 0 auto
|
|
350
|
+
properties:
|
|
351
|
+
title: More
|
|
352
|
+
color: primary
|
|
353
|
+
variant: link
|
|
354
|
+
size: small
|
|
355
|
+
blocks:
|
|
356
|
+
- id: inner_first
|
|
357
|
+
type: Card
|
|
358
|
+
properties:
|
|
359
|
+
title: Inner Card One
|
|
360
|
+
inner: true
|
|
361
|
+
blocks:
|
|
362
|
+
- id: inner_first_content
|
|
363
|
+
type: Paragraph
|
|
364
|
+
properties:
|
|
365
|
+
content: Inner cards have a gray background and are designed for nesting inside a parent card. They provide visual grouping without extra border weight.
|
|
366
|
+
- id: inner_second
|
|
367
|
+
type: Card
|
|
368
|
+
properties:
|
|
369
|
+
title: Inner Card Two
|
|
370
|
+
inner: true
|
|
371
|
+
blocks:
|
|
372
|
+
- id: inner_second_content
|
|
373
|
+
type: Paragraph
|
|
374
|
+
properties:
|
|
375
|
+
content: Multiple inner cards can stack within a parent to organize related sections. Each has its own title and content area.
|
|
376
|
+
- id: inner_third
|
|
377
|
+
type: Card
|
|
378
|
+
properties:
|
|
379
|
+
title: Inner Card Three
|
|
380
|
+
inner: true
|
|
381
|
+
size: small
|
|
382
|
+
blocks:
|
|
383
|
+
- id: inner_third_content
|
|
384
|
+
type: Paragraph
|
|
385
|
+
properties:
|
|
386
|
+
content: Inner cards also support the small size variant for more compact layouts.
|
|
387
|
+
|
|
388
|
+
- title: Hoverable Cards
|
|
389
|
+
blocks:
|
|
390
|
+
- id: hover_card_1
|
|
391
|
+
type: Card
|
|
392
|
+
layout:
|
|
393
|
+
flex: 1 1 0
|
|
394
|
+
properties:
|
|
395
|
+
title: Dashboard
|
|
396
|
+
hoverable: true
|
|
397
|
+
slots:
|
|
398
|
+
extra:
|
|
399
|
+
blocks:
|
|
400
|
+
- id: hover_card_1_icon
|
|
401
|
+
type: Icon
|
|
402
|
+
layout:
|
|
403
|
+
flex: 0 0 auto
|
|
404
|
+
properties:
|
|
405
|
+
name: AiOutlineDashboard
|
|
406
|
+
color: '#1677ff'
|
|
407
|
+
size: 20
|
|
408
|
+
blocks:
|
|
409
|
+
- id: hover_card_1_stat
|
|
410
|
+
type: Statistic
|
|
411
|
+
properties:
|
|
412
|
+
title: Active Users
|
|
413
|
+
value: 1248
|
|
414
|
+
- id: hover_card_1_p
|
|
415
|
+
type: Paragraph
|
|
416
|
+
properties:
|
|
417
|
+
content: Hover over any card in this section to see the elevation shadow effect. Commonly used for clickable card grids.
|
|
418
|
+
|
|
419
|
+
- id: hover_card_2
|
|
420
|
+
type: Card
|
|
421
|
+
layout:
|
|
422
|
+
flex: 1 1 0
|
|
423
|
+
properties:
|
|
424
|
+
title: Revenue
|
|
425
|
+
hoverable: true
|
|
426
|
+
slots:
|
|
427
|
+
extra:
|
|
428
|
+
blocks:
|
|
429
|
+
- id: hover_card_2_icon
|
|
430
|
+
type: Icon
|
|
431
|
+
layout:
|
|
432
|
+
flex: 0 0 auto
|
|
433
|
+
properties:
|
|
434
|
+
name: AiOutlineDollarCircle
|
|
435
|
+
color: '#52c41a'
|
|
436
|
+
size: 20
|
|
437
|
+
blocks:
|
|
438
|
+
- id: hover_card_2_stat
|
|
439
|
+
type: Statistic
|
|
440
|
+
properties:
|
|
441
|
+
title: Monthly Revenue
|
|
442
|
+
value: 48650
|
|
443
|
+
prefix: $
|
|
444
|
+
- id: hover_card_2_tag
|
|
445
|
+
type: Tag
|
|
446
|
+
properties:
|
|
447
|
+
title: +12.5%
|
|
448
|
+
color: success
|
|
449
|
+
|
|
450
|
+
- id: hover_card_3
|
|
451
|
+
type: Card
|
|
452
|
+
layout:
|
|
453
|
+
flex: 1 1 0
|
|
454
|
+
properties:
|
|
455
|
+
title: Tasks
|
|
456
|
+
hoverable: true
|
|
457
|
+
slots:
|
|
458
|
+
extra:
|
|
459
|
+
blocks:
|
|
460
|
+
- id: hover_card_3_icon
|
|
461
|
+
type: Icon
|
|
462
|
+
layout:
|
|
463
|
+
flex: 0 0 auto
|
|
464
|
+
properties:
|
|
465
|
+
name: AiOutlineCheckCircle
|
|
466
|
+
color: '#faad14'
|
|
467
|
+
size: 20
|
|
468
|
+
blocks:
|
|
469
|
+
- id: hover_card_3_stat
|
|
470
|
+
type: Statistic
|
|
471
|
+
properties:
|
|
472
|
+
title: Completed Today
|
|
473
|
+
value: 37
|
|
474
|
+
- id: hover_card_3_progress
|
|
475
|
+
type: Progress
|
|
476
|
+
properties:
|
|
477
|
+
percent: 74
|
|
478
|
+
|
|
479
|
+
- title: Rich Content Cards
|
|
480
|
+
blocks:
|
|
481
|
+
- id: rich_profile_card
|
|
482
|
+
type: Card
|
|
483
|
+
layout:
|
|
484
|
+
flex: 1 1 0
|
|
485
|
+
blocks:
|
|
486
|
+
- id: rich_profile_row
|
|
487
|
+
type: Box
|
|
488
|
+
layout:
|
|
489
|
+
gap: 16
|
|
490
|
+
align: center
|
|
491
|
+
blocks:
|
|
492
|
+
- id: rich_profile_avatar
|
|
493
|
+
type: Avatar
|
|
494
|
+
layout:
|
|
495
|
+
flex: 0 0 auto
|
|
496
|
+
properties:
|
|
497
|
+
icon: AiOutlineUser
|
|
498
|
+
size: 64
|
|
499
|
+
color: '#fff'
|
|
500
|
+
backgroundColor: '#1677ff'
|
|
501
|
+
- id: rich_profile_info
|
|
502
|
+
type: Box
|
|
503
|
+
layout:
|
|
504
|
+
flex: 1 1 0
|
|
505
|
+
direction: column
|
|
506
|
+
gap: 4
|
|
507
|
+
blocks:
|
|
508
|
+
- id: rich_profile_name
|
|
509
|
+
type: Title
|
|
510
|
+
properties:
|
|
511
|
+
content: Jane Cooper
|
|
512
|
+
level: 4
|
|
513
|
+
- id: rich_profile_role
|
|
514
|
+
type: Paragraph
|
|
515
|
+
properties:
|
|
516
|
+
content: Senior Product Designer
|
|
517
|
+
- id: rich_profile_divider
|
|
518
|
+
type: Divider
|
|
519
|
+
- id: rich_profile_details
|
|
520
|
+
type: Descriptions
|
|
521
|
+
properties:
|
|
522
|
+
size: small
|
|
523
|
+
column: 1
|
|
524
|
+
items:
|
|
525
|
+
- label: Email
|
|
526
|
+
value: jane.cooper@example.com
|
|
527
|
+
- label: Location
|
|
528
|
+
value: San Francisco, CA
|
|
529
|
+
- label: Team
|
|
530
|
+
value: Design Systems
|
|
531
|
+
|
|
532
|
+
- id: rich_project_card
|
|
533
|
+
type: Card
|
|
534
|
+
layout:
|
|
535
|
+
flex: 1 1 0
|
|
536
|
+
properties:
|
|
537
|
+
title: Project Alpha
|
|
538
|
+
slots:
|
|
539
|
+
extra:
|
|
540
|
+
blocks:
|
|
541
|
+
- id: rich_project_tag
|
|
542
|
+
type: Tag
|
|
543
|
+
layout:
|
|
544
|
+
flex: 0 0 auto
|
|
545
|
+
properties:
|
|
546
|
+
title: Active
|
|
547
|
+
color: success
|
|
548
|
+
blocks:
|
|
549
|
+
- id: rich_project_desc
|
|
550
|
+
type: Paragraph
|
|
551
|
+
properties:
|
|
552
|
+
content: A web application for managing team workflows, project timelines, and resource allocation across departments.
|
|
553
|
+
- id: rich_project_divider
|
|
554
|
+
type: Divider
|
|
555
|
+
- id: rich_project_meta_row
|
|
556
|
+
type: Box
|
|
557
|
+
layout:
|
|
558
|
+
gap: 16
|
|
559
|
+
blocks:
|
|
560
|
+
- id: rich_project_stat1
|
|
561
|
+
type: Statistic
|
|
562
|
+
layout:
|
|
563
|
+
flex: 1 1 0
|
|
564
|
+
properties:
|
|
565
|
+
title: Tasks
|
|
566
|
+
value: 42
|
|
567
|
+
- id: rich_project_stat2
|
|
568
|
+
type: Statistic
|
|
569
|
+
layout:
|
|
570
|
+
flex: 1 1 0
|
|
571
|
+
properties:
|
|
572
|
+
title: Members
|
|
573
|
+
value: 8
|
|
574
|
+
- id: rich_project_stat3
|
|
575
|
+
type: Statistic
|
|
576
|
+
layout:
|
|
577
|
+
flex: 1 1 0
|
|
578
|
+
properties:
|
|
579
|
+
title: Days Left
|
|
580
|
+
value: 14
|
|
581
|
+
- id: rich_project_progress
|
|
582
|
+
type: Progress
|
|
583
|
+
properties:
|
|
584
|
+
percent: 68
|
|
585
|
+
|
|
586
|
+
- id: rich_pricing_card
|
|
587
|
+
type: Card
|
|
588
|
+
layout:
|
|
589
|
+
flex: 1 1 0
|
|
590
|
+
properties:
|
|
591
|
+
hoverable: true
|
|
592
|
+
blocks:
|
|
593
|
+
- id: rich_pricing_title
|
|
594
|
+
type: Title
|
|
595
|
+
properties:
|
|
596
|
+
content: Pro Plan
|
|
597
|
+
level: 4
|
|
598
|
+
- id: rich_pricing_price_row
|
|
599
|
+
type: Box
|
|
600
|
+
layout:
|
|
601
|
+
align: baseline
|
|
602
|
+
gap: 4
|
|
603
|
+
blocks:
|
|
604
|
+
- id: rich_pricing_amount
|
|
605
|
+
type: Title
|
|
606
|
+
layout:
|
|
607
|
+
flex: 0 0 auto
|
|
608
|
+
properties:
|
|
609
|
+
content: $29
|
|
610
|
+
level: 2
|
|
611
|
+
- id: rich_pricing_period
|
|
612
|
+
type: Paragraph
|
|
613
|
+
layout:
|
|
614
|
+
flex: 0 0 auto
|
|
615
|
+
properties:
|
|
616
|
+
content: / month
|
|
617
|
+
- id: rich_pricing_divider
|
|
618
|
+
type: Divider
|
|
619
|
+
- id: rich_pricing_f1
|
|
620
|
+
type: Paragraph
|
|
621
|
+
properties:
|
|
622
|
+
content: 'Unlimited projects'
|
|
623
|
+
- id: rich_pricing_f2
|
|
624
|
+
type: Paragraph
|
|
625
|
+
properties:
|
|
626
|
+
content: '50 GB storage'
|
|
627
|
+
- id: rich_pricing_f3
|
|
628
|
+
type: Paragraph
|
|
629
|
+
properties:
|
|
630
|
+
content: 'Priority support'
|
|
631
|
+
- id: rich_pricing_f4
|
|
632
|
+
type: Paragraph
|
|
633
|
+
properties:
|
|
634
|
+
content: 'Advanced analytics'
|
|
635
|
+
- id: rich_pricing_btn
|
|
636
|
+
type: Button
|
|
637
|
+
properties:
|
|
638
|
+
title: Get Started
|
|
639
|
+
color: primary
|
|
640
|
+
variant: solid
|
|
641
|
+
block: true
|
|
642
|
+
|
|
643
|
+
- title: Card Grid Layout
|
|
644
|
+
blocks:
|
|
645
|
+
- id: grid_card_1
|
|
646
|
+
type: Card
|
|
647
|
+
layout:
|
|
648
|
+
flex: 1 1 280px
|
|
649
|
+
properties:
|
|
650
|
+
title: Analytics
|
|
651
|
+
size: small
|
|
652
|
+
hoverable: true
|
|
653
|
+
slots:
|
|
654
|
+
extra:
|
|
655
|
+
blocks:
|
|
656
|
+
- id: grid_card_1_icon
|
|
657
|
+
type: Icon
|
|
658
|
+
layout:
|
|
659
|
+
flex: 0 0 auto
|
|
660
|
+
properties:
|
|
661
|
+
name: AiOutlineBarChart
|
|
662
|
+
color: '#1677ff'
|
|
663
|
+
blocks:
|
|
664
|
+
- id: grid_card_1_p
|
|
665
|
+
type: Paragraph
|
|
666
|
+
properties:
|
|
667
|
+
content: Track key metrics and performance indicators across your application in real time.
|
|
668
|
+
- id: grid_card_1_tags
|
|
669
|
+
type: Box
|
|
670
|
+
layout:
|
|
671
|
+
gap: 8
|
|
672
|
+
blocks:
|
|
673
|
+
- id: grid_card_1_t1
|
|
674
|
+
type: Tag
|
|
675
|
+
properties:
|
|
676
|
+
title: Metrics
|
|
677
|
+
color: blue
|
|
678
|
+
- id: grid_card_1_t2
|
|
679
|
+
type: Tag
|
|
680
|
+
properties:
|
|
681
|
+
title: Real-time
|
|
682
|
+
color: cyan
|
|
683
|
+
|
|
684
|
+
- id: grid_card_2
|
|
685
|
+
type: Card
|
|
686
|
+
layout:
|
|
687
|
+
flex: 1 1 280px
|
|
688
|
+
properties:
|
|
689
|
+
title: Security
|
|
690
|
+
size: small
|
|
691
|
+
hoverable: true
|
|
692
|
+
slots:
|
|
693
|
+
extra:
|
|
694
|
+
blocks:
|
|
695
|
+
- id: grid_card_2_icon
|
|
696
|
+
type: Icon
|
|
697
|
+
layout:
|
|
698
|
+
flex: 0 0 auto
|
|
699
|
+
properties:
|
|
700
|
+
name: AiOutlineLock
|
|
701
|
+
color: '#52c41a'
|
|
702
|
+
blocks:
|
|
703
|
+
- id: grid_card_2_p
|
|
704
|
+
type: Paragraph
|
|
705
|
+
properties:
|
|
706
|
+
content: Role-based access control, audit logging, and two-factor authentication for your team.
|
|
707
|
+
- id: grid_card_2_tags
|
|
708
|
+
type: Box
|
|
709
|
+
layout:
|
|
710
|
+
gap: 8
|
|
711
|
+
blocks:
|
|
712
|
+
- id: grid_card_2_t1
|
|
713
|
+
type: Tag
|
|
714
|
+
properties:
|
|
715
|
+
title: RBAC
|
|
716
|
+
color: green
|
|
717
|
+
- id: grid_card_2_t2
|
|
718
|
+
type: Tag
|
|
719
|
+
properties:
|
|
720
|
+
title: 2FA
|
|
721
|
+
color: lime
|
|
722
|
+
|
|
723
|
+
- id: grid_card_3
|
|
724
|
+
type: Card
|
|
725
|
+
layout:
|
|
726
|
+
flex: 1 1 280px
|
|
727
|
+
properties:
|
|
728
|
+
title: Integrations
|
|
729
|
+
size: small
|
|
730
|
+
hoverable: true
|
|
731
|
+
slots:
|
|
732
|
+
extra:
|
|
733
|
+
blocks:
|
|
734
|
+
- id: grid_card_3_icon
|
|
735
|
+
type: Icon
|
|
736
|
+
layout:
|
|
737
|
+
flex: 0 0 auto
|
|
738
|
+
properties:
|
|
739
|
+
name: AiOutlineApi
|
|
740
|
+
color: '#722ed1'
|
|
741
|
+
blocks:
|
|
742
|
+
- id: grid_card_3_p
|
|
743
|
+
type: Paragraph
|
|
744
|
+
properties:
|
|
745
|
+
content: Connect with over 50 third-party services including Slack, GitHub, Jira, and more.
|
|
746
|
+
- id: grid_card_3_tags
|
|
747
|
+
type: Box
|
|
748
|
+
layout:
|
|
749
|
+
gap: 8
|
|
750
|
+
blocks:
|
|
751
|
+
- id: grid_card_3_t1
|
|
752
|
+
type: Tag
|
|
753
|
+
properties:
|
|
754
|
+
title: API
|
|
755
|
+
color: purple
|
|
756
|
+
- id: grid_card_3_t2
|
|
757
|
+
type: Tag
|
|
758
|
+
properties:
|
|
759
|
+
title: Webhooks
|
|
760
|
+
color: geekblue
|
|
761
|
+
|
|
762
|
+
- id: grid_card_4
|
|
763
|
+
type: Card
|
|
764
|
+
layout:
|
|
765
|
+
flex: 1 1 280px
|
|
766
|
+
properties:
|
|
767
|
+
title: Collaboration
|
|
768
|
+
size: small
|
|
769
|
+
hoverable: true
|
|
770
|
+
slots:
|
|
771
|
+
extra:
|
|
772
|
+
blocks:
|
|
773
|
+
- id: grid_card_4_icon
|
|
774
|
+
type: Icon
|
|
775
|
+
layout:
|
|
776
|
+
flex: 0 0 auto
|
|
777
|
+
properties:
|
|
778
|
+
name: AiOutlineTeam
|
|
779
|
+
color: '#fa8c16'
|
|
780
|
+
blocks:
|
|
781
|
+
- id: grid_card_4_p
|
|
782
|
+
type: Paragraph
|
|
783
|
+
properties:
|
|
784
|
+
content: Shared workspaces, comments, mentions, and real-time co-editing for seamless teamwork.
|
|
785
|
+
- id: grid_card_4_tags
|
|
786
|
+
type: Box
|
|
787
|
+
layout:
|
|
788
|
+
gap: 8
|
|
789
|
+
blocks:
|
|
790
|
+
- id: grid_card_4_t1
|
|
791
|
+
type: Tag
|
|
792
|
+
properties:
|
|
793
|
+
title: Teams
|
|
794
|
+
color: orange
|
|
795
|
+
- id: grid_card_4_t2
|
|
796
|
+
type: Tag
|
|
797
|
+
properties:
|
|
798
|
+
title: Comments
|
|
799
|
+
color: gold
|
|
800
|
+
|
|
801
|
+
- title: Styled Cards (Tailwind CSS)
|
|
802
|
+
blocks:
|
|
803
|
+
- id: styled_gradient
|
|
804
|
+
type: Card
|
|
805
|
+
layout:
|
|
806
|
+
flex: 1 1 0
|
|
807
|
+
class: bg-gradient-to-br from-primary/100 to-purple-600 text-white border-0 rounded-xl
|
|
808
|
+
blocks:
|
|
809
|
+
- id: styled_gradient_title
|
|
810
|
+
type: Title
|
|
811
|
+
class: text-white
|
|
812
|
+
properties:
|
|
813
|
+
content: Gradient Card
|
|
814
|
+
level: 4
|
|
815
|
+
- id: styled_gradient_p
|
|
816
|
+
type: Paragraph
|
|
817
|
+
class: text-blue-100
|
|
818
|
+
properties:
|
|
819
|
+
content: Using Tailwind CSS classes to create a gradient background card. The class property on the Card applies utility classes directly to the wrapper.
|
|
820
|
+
|
|
821
|
+
- id: styled_shadow
|
|
822
|
+
type: Card
|
|
823
|
+
layout:
|
|
824
|
+
flex: 1 1 0
|
|
825
|
+
class: shadow-xl rounded-2xl border-0
|
|
826
|
+
properties:
|
|
827
|
+
title: Elevated Card
|
|
828
|
+
blocks:
|
|
829
|
+
- id: styled_shadow_p
|
|
830
|
+
type: Paragraph
|
|
831
|
+
properties:
|
|
832
|
+
content: A borderless card with extra-large shadow and rounded corners. The shadow-xl class creates a prominent floating effect.
|
|
833
|
+
|
|
834
|
+
- id: styled_accent
|
|
835
|
+
type: Card
|
|
836
|
+
layout:
|
|
837
|
+
flex: 1 1 0
|
|
838
|
+
class: border-l-4 border-l-green-500 rounded-lg
|
|
839
|
+
properties:
|
|
840
|
+
title: Accent Border
|
|
841
|
+
blocks:
|
|
842
|
+
- id: styled_accent_p
|
|
843
|
+
type: Paragraph
|
|
844
|
+
properties:
|
|
845
|
+
content: A left accent border highlights important cards. Combine Tailwind border utilities with the Card component for custom accents.
|
|
846
|
+
|
|
847
|
+
- title: Custom Header and Body Styles
|
|
848
|
+
blocks:
|
|
849
|
+
- id: style_header_bg
|
|
850
|
+
type: Card
|
|
851
|
+
layout:
|
|
852
|
+
flex: 1 1 0
|
|
853
|
+
properties:
|
|
854
|
+
title: Colored Header
|
|
855
|
+
style:
|
|
856
|
+
.header:
|
|
857
|
+
borderBottom: 1px solid #91caff
|
|
858
|
+
.body:
|
|
859
|
+
blocks:
|
|
860
|
+
- id: style_header_bg_p
|
|
861
|
+
type: Paragraph
|
|
862
|
+
properties:
|
|
863
|
+
content: Using style.header and style.body to apply custom CSS to the card header and body sections separately. The header has a blue tint with a matching border.
|
|
864
|
+
|
|
865
|
+
- id: style_dark_card
|
|
866
|
+
type: Card
|
|
867
|
+
layout:
|
|
868
|
+
flex: 1 1 0
|
|
869
|
+
properties:
|
|
870
|
+
title: Dark Theme Card
|
|
871
|
+
style:
|
|
872
|
+
.header:
|
|
873
|
+
backgroundColor: '#1f1f1f'
|
|
874
|
+
color: '#ffffff'
|
|
875
|
+
borderBottom: 1px solid #333
|
|
876
|
+
.body:
|
|
877
|
+
backgroundColor: '#2a2a2a'
|
|
878
|
+
blocks:
|
|
879
|
+
- id: style_dark_p
|
|
880
|
+
type: Paragraph
|
|
881
|
+
class: text-text-secondary
|
|
882
|
+
properties:
|
|
883
|
+
content: A manually styled dark card using inline styles on the header and body. For app-wide dark themes, prefer antd theme tokens or ConfigProvider.
|
|
884
|
+
|
|
885
|
+
- id: style_compact_card
|
|
886
|
+
type: Card
|
|
887
|
+
layout:
|
|
888
|
+
flex: 1 1 0
|
|
889
|
+
properties:
|
|
890
|
+
title: Compact Custom Padding
|
|
891
|
+
style:
|
|
892
|
+
.header:
|
|
893
|
+
padding: 8px 16px
|
|
894
|
+
minHeight: 40px
|
|
895
|
+
.body:
|
|
896
|
+
padding: 12px 16px
|
|
897
|
+
blocks:
|
|
898
|
+
- id: style_compact_p
|
|
899
|
+
type: Paragraph
|
|
900
|
+
properties:
|
|
901
|
+
content: Inline styles on the header and body can override the default padding for a more compact layout without using the small size variant.
|
|
902
|
+
|
|
903
|
+
- title: CSS Key Classes
|
|
904
|
+
blocks:
|
|
905
|
+
- id: css_element
|
|
906
|
+
type: Card
|
|
907
|
+
layout:
|
|
908
|
+
flex: 1 1 0
|
|
909
|
+
class:
|
|
910
|
+
element: shadow-lg rounded-xl
|
|
911
|
+
header: bg-bg-layout
|
|
912
|
+
body: bg-bg-container
|
|
913
|
+
properties:
|
|
914
|
+
title: Element + Header + Body
|
|
915
|
+
blocks:
|
|
916
|
+
- id: css_element_p
|
|
917
|
+
type: Paragraph
|
|
918
|
+
properties:
|
|
919
|
+
content: 'Card supports these CSS keys: element, header, body, cover, actions, extra. Use class as an object to target each area with Tailwind classes.'
|
|
920
|
+
|
|
921
|
+
- id: css_hover_ring
|
|
922
|
+
type: Card
|
|
923
|
+
layout:
|
|
924
|
+
flex: 1 1 0
|
|
925
|
+
class:
|
|
926
|
+
element: hover:ring-2 hover:ring-blue-400 transition-all duration-200 rounded-lg
|
|
927
|
+
properties:
|
|
928
|
+
title: Hover Ring Effect
|
|
929
|
+
hoverable: true
|
|
930
|
+
blocks:
|
|
931
|
+
- id: css_hover_ring_p
|
|
932
|
+
type: Paragraph
|
|
933
|
+
properties:
|
|
934
|
+
content: Combining the hoverable property with a Tailwind hover ring transition creates an interactive highlight on mouse over.
|
|
935
|
+
|
|
936
|
+
- id: css_extra_styled
|
|
937
|
+
type: Card
|
|
938
|
+
layout:
|
|
939
|
+
flex: 1 1 0
|
|
940
|
+
class:
|
|
941
|
+
extra: bg-bg-layout px-3 py-1 rounded-full
|
|
942
|
+
properties:
|
|
943
|
+
title: Styled Extra Area
|
|
944
|
+
slots:
|
|
945
|
+
extra:
|
|
946
|
+
blocks:
|
|
947
|
+
- id: css_extra_tag
|
|
948
|
+
type: Tag
|
|
949
|
+
layout:
|
|
950
|
+
flex: 0 0 auto
|
|
951
|
+
properties:
|
|
952
|
+
title: Live
|
|
953
|
+
color: success
|
|
954
|
+
blocks:
|
|
955
|
+
- id: css_extra_styled_p
|
|
956
|
+
type: Paragraph
|
|
957
|
+
properties:
|
|
958
|
+
content: The extra CSS key lets you style the container around the extra slot content. Here a green pill background wraps the status tag.
|
|
959
|
+
|
|
960
|
+
- title: Theme Token Overrides
|
|
961
|
+
blocks:
|
|
962
|
+
- id: theme_large_padding
|
|
963
|
+
type: Card
|
|
964
|
+
layout:
|
|
965
|
+
flex: 1 1 0
|
|
966
|
+
properties:
|
|
967
|
+
title: Large Padding
|
|
968
|
+
theme:
|
|
969
|
+
bodyPadding: 40
|
|
970
|
+
headerPadding: 40
|
|
971
|
+
blocks:
|
|
972
|
+
- id: theme_large_padding_p
|
|
973
|
+
type: Paragraph
|
|
974
|
+
properties:
|
|
975
|
+
content: Override bodyPadding and headerPadding tokens for extra spacious cards. These tokens control the internal spacing of the card.
|
|
976
|
+
|
|
977
|
+
- id: theme_colored_header
|
|
978
|
+
type: Card
|
|
979
|
+
layout:
|
|
980
|
+
flex: 1 1 0
|
|
981
|
+
properties:
|
|
982
|
+
title: Custom Header Background
|
|
983
|
+
theme:
|
|
984
|
+
colorTextHeading: '#389e0d'
|
|
985
|
+
blocks:
|
|
986
|
+
- id: theme_colored_header_p
|
|
987
|
+
type: Paragraph
|
|
988
|
+
properties:
|
|
989
|
+
content: The headerBg token changes the card header background color, and colorTextHeading changes the title text color. These apply through the antd theme system.
|
|
990
|
+
|
|
991
|
+
- id: theme_rounded
|
|
992
|
+
type: Card
|
|
993
|
+
layout:
|
|
994
|
+
flex: 1 1 0
|
|
995
|
+
properties:
|
|
996
|
+
title: Extra Rounded
|
|
997
|
+
theme:
|
|
998
|
+
borderRadiusLG: 20
|
|
999
|
+
blocks:
|
|
1000
|
+
- id: theme_rounded_p
|
|
1001
|
+
type: Paragraph
|
|
1002
|
+
properties:
|
|
1003
|
+
content: The borderRadiusLG token controls the card corner radius. Set a large value for a pill-like card appearance.
|
|
1004
|
+
|
|
1005
|
+
- id: theme_dense
|
|
1006
|
+
type: Card
|
|
1007
|
+
layout:
|
|
1008
|
+
flex: 1 1 0
|
|
1009
|
+
properties:
|
|
1010
|
+
title: Dense Card
|
|
1011
|
+
size: small
|
|
1012
|
+
theme:
|
|
1013
|
+
bodyPaddingSM: 8
|
|
1014
|
+
headerPaddingSM: 8
|
|
1015
|
+
headerHeightSM: 32
|
|
1016
|
+
headerFontSizeSM: 12
|
|
1017
|
+
blocks:
|
|
1018
|
+
- id: theme_dense_p
|
|
1019
|
+
type: Paragraph
|
|
1020
|
+
properties:
|
|
1021
|
+
content: Combine the small size variant with custom SM tokens for an ultra-compact card. Useful for data-dense dashboards.
|
|
1022
|
+
|
|
1023
|
+
- id: theme_custom_colors
|
|
1024
|
+
type: Card
|
|
1025
|
+
properties:
|
|
1026
|
+
title: Custom Color Scheme
|
|
1027
|
+
theme:
|
|
1028
|
+
colorTextHeading: '#d46b08'
|
|
1029
|
+
colorText: '#874d00'
|
|
1030
|
+
colorBorderSecondary: '#ffd591'
|
|
1031
|
+
blocks:
|
|
1032
|
+
- id: theme_custom_colors_p
|
|
1033
|
+
type: Paragraph
|
|
1034
|
+
properties:
|
|
1035
|
+
content: A warm-toned card using theme tokens to customize the background, header, text, and border colors. Theme tokens cascade correctly through the antd design system.
|