Is there a specific problem you are facing?
You can use the <content></content>
inside your ChatWindowComponent
template:
<element name="x-chat-window" constructor="ChatWindowComponent" extends="div">
<template>
<content></content>
</template>
</element>
Then the page where you use them:
<!DOCTYPE html>
<html>
<head>
<link rel="components" href="components/chat_window.html" />
<link rel="components" href="components/text_area.html" />
<link rel="components" href="components/text_input.html" />
</head>
<body>
<x-chat-window>
<x-text-area></x-text-area>
<x-text-input></x-text-input>
</x-chat-window>
</body>
</html>