Add Components to Widgets 5.7 new feature?

With the 5.7 update I noticed a new “Add Component” button in the detail panel of widgets selected in the Hierarchy of the Designer tab.

I couldn’t find anything related to this anywhere, not even in the release notes. I decided to dig around a bit and found the following options when clicking “Add Component”.

In their respective C++ classes they’re based off their Slate counterparts, so that means that others can be made into components with the proper knowhow. My questions are:

  1. Is there any official documentation for this?
  2. By the looks of it, these UIComponents just work around having to wrap individual widgets in the hierarchy and add the wrappers as components to each widget. Does that mean they’re only a convenience feature so that we can keep a cleaner hierarchy? or am I overlooking something?

I believe this feature is intended to simplify and organize the hierarchy of the user interface.

2 Likes

This is a new UE 5.7 feature and there’s no official documentation yet.

Widget Components are lightweight wrappers around Slate behavior that attach directly to a User Widget, similar to Actor Components. They mainly exist to reduce hierarchy clutter and avoid manually wrapping widgets in SizeBox or ScaleBox over and over.

Right now they’re a convenience and organization feature, not a new lifecycle or logic system. They don’t replace widgets or add new rendering behavior, they just centralize common layout or interaction logic. Expect more components and docs later, but for now that’s their primary purpose.

1 Like

Thanks for the answers. Consensus seems to be that it’s a new convenience feature. Shame that it wasn’t announced in any visible way and that it lacks documentation.