View Component in Jmix v2

Hello,
Please is there a way to add a custom visual component to an existing view?
Let me explain better.
I have this view component below that I want to include in other views throughout my project. The idea of fragment in v1.5 will be appropriate to this question. I don’t want to repeat these xml codes everywhere I need the component, I just want to refer to its name and expect the component to be displayed.

How is this possible in v2?

Thanks

<view xmlns="http://jmix.io/schema/flowui/view">
    <layout>
        <textField id="nameField"
                   placeholder="Enter your name"
                   datatype="string"/>
        <button id="helloButton" text="Say Hello"/>
        <div id="greetingsLabel"/>
    </layout>
</view>

Hi

You can use composite components
Similar topic: Jmix fragments

Regards,
Alex

thanks Alex…will use this