Skip to content

[FEAT] Support Ant Design v6 #7140

@trantam246

Description

@trantam246

Is your feature request related to a problem? Please describe.

I'm experiencing a conflict when trying to upgrade Ant Design to v6 in my project. The current version of @refinedev/antd is locked to Ant Design v5, which prevents me from using the latest features and improvements in Ant Design v6.

When I attempt to upgrade antd to v6, I get peer dependency conflicts with @refinedev/antd, forcing me to either:

  • Stay on the older Ant Design v5
  • Use workarounds like npm overrides which may cause runtime errors

This blocks my project from adopting Ant Design v6's new features, performance improvements, and bug fixes.

Describe alternatives you've considered

  1. Fork @refinedev/antd and manually update the Ant Design dependency - This requires maintaining a custom fork which is not sustainable
  2. Remove @refinedev/antd and build custom integrations - This defeats the purpose of using Refine and requires significant development effort
  3. Stay on Ant Design v5 - This means missing out on v6's improvements and eventually falling behind on security updates

Additional context

Ant Design v6 has been released with significant improvements including:

  • Better performance
  • Enhanced TypeScript support
  • New components and features
  • Bug fixes and security updates

Supporting Ant Design v6 would allow Refine users to take advantage of these improvements while maintaining compatibility with the Refine ecosystem.

Describe the thing to improve

Update @refinedev/antd to support Ant Design v6 as a peer dependency. This would involve:

  • Updating the peer dependency requirements to support antd ^6.0.0
  • Testing and updating any breaking changes from Ant Design v5 to v6
  • Ensuring all @refinedev/antd components work correctly with the new version
  • Updating documentation and examples to reflect Ant Design v6 usage

This would allow projects to upgrade to Ant Design v6 without conflicts and take advantage of the latest features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions