sl-design-system / components

SL Design System
https://sanomalearning.design/
Apache License 2.0
38 stars 3 forks source link

accordion for mobile with cta #1404

Open claudiac2024 opened 1 month ago

claudiac2024 commented 1 month ago

Provide a general summary of the feature here

We are currently working on table for desktop that displays asset download manager, we show here status (badges) weight of file, and action (button). to make if mobile friendly we are using the accordion, bc we dont have card collapsable cards or anything similar, so question is can we add in the collapsable area button and badges as well?

๐Ÿค” Expected Behavior?

to make if mobile friendly we are using the accordion, bc we dont have card collapsable cards or anything similar, so question is can we add in the collapsable area button and badges as well?

๐Ÿ˜ฏ Current Behavior

the accordion just displays description

๐Ÿ’ Possible Solution

No response

๐Ÿ”ฆ Context

perhaps there is another way of doing it

๐Ÿ’ป Examples

Screenshot 2024-07-09 at 14 35 43

๐Ÿงข Your Product/Team

NPM NEON/ MY Digital book, AV4

### Tasks
DanielleRameau commented 1 month ago

@claudiac2024 Is it possible to share a design or example to make it more clear to us? Currently, it is already possible to add buttons and badges within the collapsable area by using the slot component in Figma. We are currently working on a collapsable panel component, maybe this component suits your needs better, in that case you have to wait a bit.