Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add meta data to card component #3467

Open
admilne opened this issue Jan 3, 2025 · 1 comment
Open

[Feature]: Add meta data to card component #3467

admilne opened this issue Jan 3, 2025 · 1 comment
Labels
Community backlog An issue raised on the community backlog New feature proposal A proposal for a new component, pattern, style or documentation to add to the ONS Design System

Comments

@admilne
Copy link
Contributor

admilne commented Jan 3, 2025

What feature would you like to add to the ONS Design System?

Add meta data to the Card component. This would be similar to the functionality found in the Document List component.

Alternatively, create a new variant for the Document List component so you can have 3 columns next to one another like you can for the Card component.

Why should this new feature be added to the Design System?

The homepage of the IDS website wants to have a section which shows off the 3 latest pieces of news. Currently we are able to do this using the Card component but they would like to be able to show the date the piece of news was written. We can't do that at the moment because the ability to have meta data isn't there for the Card component. You can have it for the Document List component but it doesn't have a variant for the look they want. See screenshot.
image

Supporting material

IDS website homepage designs can be found on Figma

Contacts

No response

@admilne admilne added New feature proposal A proposal for a new component, pattern, style or documentation to add to the ONS Design System Community backlog An issue raised on the community backlog labels Jan 3, 2025
@MagdalenaLarge
Copy link

Ticket transferred to Jira: https://jira.ons.gov.uk/browse/ONSDESYS-251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community backlog An issue raised on the community backlog New feature proposal A proposal for a new component, pattern, style or documentation to add to the ONS Design System
Projects
None yet
Development

No branches or pull requests

2 participants