Skip to content

[FEAT]: Animations/Pixel Transition #622

@son426

Description

@son426

Hello. I've been using this library and really appreciate the creative components. I'd like to propose two enhancements for the PixelTransition component

  1. Add Keyboard Accessibility: Make the component fully usable with a keyboard (tabIndex, onFocus, onKeyDown) for better accessibility.
  2. Add once prop: Add an optional once prop to prevent the content from reverting on mouse leave.
    • It would default to false, so there are no breaking changes for existing users.
    • From my experience, I've found this persistent state often provides a more stable UX, especially when the second content requires closer inspection.

If you think this is a good idea, I'd be happy to open a Pull Request with the changes.

Validations

  • I have checked other issues to see if my issue was already discussed or addressed

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions