Overview
This task involves implementing a component named RecommendedResourceCard in Studio to display recommended resources to users within the recommended resources side panel. The implementation wraps around the KCard component.
Description and outcomes
| Name |
Description |
Type |
Required |
Default |
to |
Router-link object that enables user navigation to the intended route. |
Object |
true |
- |
title |
Sets the value of the title text. |
String |
false |
null |
level |
Sets the value of the level text. |
String |
false |
null |
thumbnailSrc |
Source URL of a thumbnail image |
String |
false |
null |
thumbnailScaleType |
Specifies how an image should be scaled within the thumbnail area. See KImg for supported types. |
String |
false |
'centerInside' |
learningActivity |
Sets the value of the learning activity. |
String |
false |
null |
| Name |
Description |
focus |
Emitted when the card element has received focus. |
hover |
Emitted when the mouse pointer enters or leaves the card element |
Acceptance Criteria
- Conforms fully to the specification above
Assumptions and Dependencies
Scope
The scope of this task is limited to;
- A card component for recommended resources only.
This task doesn’t include;
- Implementing the
KCard component
- Implementing the actions for the pop-out link and thumbs down icons.
Accessibility Requirements
- Card inherits
KCard’s accessibility features
Resources
Overview
This task involves implementing a component named
RecommendedResourceCardin Studio to display recommended resources to users within the recommended resources side panel. The implementation wraps around theKCardcomponent.Description and outcomes
Design requirements

Markup requirements
<KCard>Styling requirements
KCardcomponent.Architecture requirements
KCardcomponentKCardKIconto render iconsKIconButtonto render clickable iconslearningActivityto dynamically set the learning activity and its corresponding iconhorizontallayoutand thesmallthumbnailDisplay. See KCard specificationsProps
toObjecttruetitleStringfalsenulllevelStringfalsenullthumbnailSrcStringfalsenullthumbnailScaleTypeKImgfor supported types.Stringfalse'centerInside'learningActivityStringfalsenullfocushoverAcceptance Criteria
Assumptions and Dependencies
KCardcomponentKCardwill initially be developed in Studio before being moved into KDSScope
The scope of this task is limited to;
This task doesn’t include;
KCardcomponentAccessibility Requirements
KCard’s accessibility featuresResources