You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new ButtonIcon component in React, based on the design specifications and insights outlined in the ButtonIcon Audit and Insight Report Figma Board. This component should offer flexibility for different use cases while maintaining consistency with the shared design system.
Technical Details
Component Implementation:
Develop the ButtonIcon component.
Ensure the component renders an accessible button with an icon (SVG or ReactNode) as its primary visual element.
Follow best practices for accessibility, responsiveness, and scalability.
Styling:
Apply styles using TailwindCSS classes or CSS-in-JS to ensure scalability and maintainability.
Include hover, focus, active, and disabled states.
Align with the global design tokens for colors, padding, and typography.
Integration:
Ensure the component integrates seamlessly with the shared UI library.
Confirm alignment with other button components and shared styles.
Testing:
Write comprehensive unit tests using Jest and React Testing Library.
Include tests for accessibility (e.g., screen reader focus, keyboard navigation).
Test the component in isolation and in common use cases.
Documentation:
Add the ButtonIcon component to Storybook.
Showcase examples for different sizes, states, and usage scenarios.
Provide clear descriptions for all props and best practices for using the component.
Description
Create a new
ButtonIcon
component in React, based on the design specifications and insights outlined in the ButtonIcon Audit and Insight Report Figma Board. This component should offer flexibility for different use cases while maintaining consistency with the shared design system.Technical Details
Component Implementation:
ButtonIcon
component.Styling:
Integration:
Testing:
Documentation:
ButtonIcon
component to Storybook.Acceptance Criteria
ButtonIcon
component is implemented according to the ButtonIcon Audit and Insight Report Figma Board.References
The text was updated successfully, but these errors were encountered: