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

🧱 ZUI: Badge #2162

Open
4 tasks
Tracked by #2111
ziggabyte opened this issue Sep 25, 2024 · 1 comment · Fixed by #2208
Open
4 tasks
Tracked by #2111

🧱 ZUI: Badge #2162

ziggabyte opened this issue Sep 25, 2024 · 1 comment · Fixed by #2208
Assignees
Labels
🚪 entry-level Good for newcomers 🧱 ZUI Issues related to improvements in reusable ZUI components.

Comments

@ziggabyte
Copy link
Contributor

ziggabyte commented Sep 25, 2024

Description

A little badge to represent a status, and optionally a number

Screenshots

bild

Figma link

You need to be logged into a Figma account to properly view the Figma content.
https://www.figma.com/design/yIQMDEFSgkUOrSaJpg3k7N/ZUI?node-id=11009-142434&t=XDq42a8E5ncUc5kk-4

Requirements

  • Matches styles as given in Figma
  • Optionally takes in a number
  • If no number, just a small dot
  • Takes in a status, which decides the color

Possible implementations

Look at ZUIStatusChip for example of how to use the statuses.

Develop this using Storybook. We want all the design system components to be documented through their own Storybook stories.

For reference, you can look at the already existing ZUI components created on the undocumented/new-design-system branch (not ZUI components that exist on main, as they are not part of the new design system.)

Git

The main git branch for the work on the new design system is undocumented/new-design-system. Unless otherwise instructed, do your work on a new branch branched off from this branch.

Name your branch issue-number/zui-name, ex: issue-928/zui-button for a branch where work is done that is documented in the issue with number 928, where a button component is being made.

@ziggabyte ziggabyte added the 🧱 ZUI Issues related to improvements in reusable ZUI components. label Sep 25, 2024
@ziggabyte ziggabyte added the 🚪 entry-level Good for newcomers label Sep 25, 2024
@KraftKatten KraftKatten self-assigned this Sep 28, 2024
@KraftKatten
Copy link
Collaborator

I'll take a look at this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚪 entry-level Good for newcomers 🧱 ZUI Issues related to improvements in reusable ZUI components.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants