Skip to content

Specify design for card components #81

@Tugark

Description

@Tugark

While we implemented a card component in #79 , @Zitronenbaer and @Tugark found that there are more variants of the card components. Currently, the card component should only be used in the detail screen.

According to @Zitronenbaer , there are various card variants:

  • With larger header (e.g. when in content)
  • With or without buttons, button groups, toggles
  • With or without header (see @TIL-EBP 's comment in Add card component #80 )
  • Behaviour regarding stretching of content (e.g. how are linewraps handled? how do we handle stretching if buttons and text are added?)
  • What happens if no title is supplied?

This ticket should be used to specify a card component similar to the buttons in Figma. Subsequently, the existing card component can be improved and then used in all places where we currently have custom card implementations.

NB: As of now, the card component should not be used for anything other than the detail screen.

CC @daniel-va @TIL-EBP @tschumpr @MiraGeowerkstatt

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions