Motivation I used to use React UI libraries such as MUI or Chakra or something else. Some of these libraries create components in a composition way, so today I want to describe the way how you can do it in your project with your own realization. Let's grab some coffee and let's go. Sorry for the gif, though :D Prerequisites React coffee || tea good attitude Composition A couple of words about composition, simple explanation: combining smaller, independent components to create complex UIs. Why?