swisspost / design-system

The Swiss Post Design System - for a consistent and accessible user experience across the web platform.
https://design-system.post.ch
Apache License 2.0
126 stars 14 forks source link

[component]: Avatar with Name #2885

Open gfellerph opened 8 months ago

gfellerph commented 8 months ago

Create a component for user avatars.

image

Design: https://www.figma.com/file/xZ0IW0MJO0vnFicmrHiKaY/Components-Post?type=design&node-id=17162%3A7287&mode=design&t=Q7MUVh3G2mYSJ7OV-1

Props

Slots

### Tasks
- [ ] https://github.com/swisspost/design-system/issues/2596
- [ ] https://github.com/swisspost/design-system/issues/3210
- [x] Implement the new component `post-avatar`
- [x] Create a documentation page
- [x] Add cypress tests
- [x] Add visual regression tests
- [ ] Design review
gfellerph commented 7 months ago

Wait for the Design for the new Header