Hello @Pragya Gupta ,
Thanks for your question.
Regarding WinUI 2 maintenance mode and deprecation timeline:
There is currently no official public Microsoft documentation that explicitly confirms WinUI 2 is in "maintenance mode" or provides a formal deprecation timeline for the next 2–3 years.
For deeper guidance, I'd suggest checking with the product group through internal team - they'll confirm the best approach for you.
About long-term strategy, WinUI 3 is the recommended path for all future Windows app development. Microsoft's investments, new features, and tooling support are focused on WinUI 3 as part of the Windows App SDK.
I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback.