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
{{ message }}
Repository navigation
Commit 69f4924
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -133,6 +85,7 @@ Cards share a theme but can express distinct intent.
133
85
The same composition in every semantic tone. Child tones are explicit where the composition owns them, including navigation actions.
134
86
135
87
<ComponentExample
88
+
data-toc-ignore
136
89
label="All ten semantic tones"
137
90
caption="Switch the site theme to compare the same samples in both palettes."
138
91
>
@@ -143,9 +96,12 @@ The same composition in every semantic tone. Child tones are explicit where the
143
96
144
97
## All eighteen visual variants
145
98
146
-
Every supported variant is shown in accent, including none. Variant controls the outer treatment; nested content may use its own treatment.
99
+
Every supported variant is shown in accent, including none. The variant controls
100
+
the card's outer treatment. The icon keeps its own surface treatment so it stays
101
+
recognizable across the set.
147
102
148
103
<ComponentExample
104
+
data-toc-ignore
149
105
label="All eighteen visual variants"
150
106
caption="Switch the site theme to compare the same samples in both palettes."
151
107
>
@@ -157,6 +113,7 @@ Every supported variant is shown in accent, including none. Variant controls the
157
113
## Optional content and both slots
158
114
159
115
<ComponentExample
116
+
data-toc-ignore
160
117
label="A card can be brief or complete"
161
118
caption="The default slot extends the story; actions holds navigation. Each optional text and decoration can be omitted independently."
162
119
>
@@ -202,14 +159,20 @@ Every supported variant is shown in accent, including none. Variant controls the
202
159
| eyebrow, title, summary | Compare the text-only card and the complete workflow card. |
203
160
| icon, badge | Icon-only, badge-only, and combined decoration are visible together. |
204
161
| Default slot | The complete workflow card adds rich supporting text below the summary. |
205
-
| actions slot |Compare one destination in the original example with two destinations in Both slots. |
162
+
| actions slot |Actions sit at the bottom of equal-height cards. Compare one destination with two destinations in Both slots. |
206
163
| Native attributes and events | Pass attributes through the root; keyboard behavior belongs to the composed native controls. |
207
164
208
165
This component exposes tone and variant, but no variantMode. Style individual child components explicitly when their appearance should match.
209
166
210
167
## Behavior and accessibility
211
168
212
-
The generated title is h3. Place feature cards under an h2 section heading, and keep summaries comparable in length. An icon and a badge support the title; they should not carry the only explanation.
169
+
The generated title is h3. Place feature cards under an h2 section heading. The
170
+
icon is decorative; the heading and summary describe the feature. The card is
171
+
a content container, and links or buttons in `actions` provide interaction.
172
+
173
+
FeatureCard uses built-in layout, spacing, and typography utilities and adds no
174
+
component-specific stylesheet. Use its `feature-card` class for any additional
0 commit comments