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

Layout variations for the Linkbox component #809

Open
melniiv opened this issue Jul 29, 2022 · 0 comments
Open

Layout variations for the Linkbox component #809

melniiv opened this issue Jul 29, 2022 · 0 comments
Labels
enhancement Request related to a current component/pattern/token/documentation.

Comments

@melniiv
Copy link

melniiv commented Jul 29, 2022

To which feature the request relates to

https://github.com/City-of-Helsinki/helsinki-design-system/blob/master/packages/react/src/components/linkbox/Linkbox.tsx

What

  • Layout variations for the LinkBox component, with different arrow link positioning, and also property to switch vertical and horizontal content direction.
  • Also, in addition to the border property, optional shadow property is needed.

Why

There are multiple layouts for the Card components with LinkBox wrapper. Currently custom implementations are used, but the goal is to use the HDS LinkBox in all cases. With current implementation of Card or LinkBox components, the design requirements which are listed below cannot be fullfilled.

Related material

Supported layout but shadow is missing:
image
Search result horizontal:
image
Mobile view horizontal:
image

@melniiv melniiv added the enhancement Request related to a current component/pattern/token/documentation. label Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request related to a current component/pattern/token/documentation.
Projects
None yet
Development

No branches or pull requests

1 participant