Skip to content

Create a Attribute Shield Component #59

@MrVintage710

Description

@MrVintage710

AttributeDisplay

Proposed Feature

Add a component that is meant for displaying attributes for TTRPG systems. The component should have 3 params:

  • Stat name (Typically a Max of 3 Characters for the abbreviation)
  • Primary Stat value (this is used for the score in question)
  • Secondary Stat value (this is used for the modifier in some games)

Figma Link: https://www.figma.com/design/pEKOr5N9RJqUNwGoFGXN1Q/Mockups?node-id=82-33&t=Lx76vdymKdNlyPqh-1

Acceptance Criteria

  • The component should be located at src/components/AttributeBlock
  • Make sure all features are well documented with JSDoc. Here is a guide for more info.
  • The component must have a story for the storybook. (Located at src/stories)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrontendUI related work.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions