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

Badges #32

Open
LudoLogical opened this issue Apr 20, 2023 · 0 comments
Open

Badges #32

LudoLogical opened this issue Apr 20, 2023 · 0 comments
Labels
Type: Feature Request New feature or request
Milestone

Comments

@LudoLogical
Copy link
Contributor

Story

As a user, I want to see colored labels for items belonging to a group, collection, or class.

Description

Create a React component, Badge, that can be configured to appear in all of the styles shown in the Figma file for Shipfaster UI. Badge should be located in the shared component library. Note that this may, though does not necessarily have to, involve adding color definitions to packages/tailwind-config/tailwind.config.js.

Acceptance Criteria

  1. Badges can have a size of either 'sm', 'md', or 'lg'.
  2. Badges can have a type of either 'primary', 'neutral', 'success', 'warning', or 'danger'.
  3. Badges can have an appearance of either 'filled', 'accent', or 'outlined'.
  4. Badges can optionally visually respond to being in a hover state.
  5. Badges can optionally be disabled.
  6. Badges can have text, an Icon, or both. The Icon can appear on either side of the text if both are present.

Notes

None

@LudoLogical LudoLogical added the Type: Feature Request New feature or request label Apr 20, 2023
@LudoLogical LudoLogical added this to the Milestone #3 milestone Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant