# vjs.Component __EXTENDS__: [vjs.CoreObject](vjs.CoreObject.md) __DEFINED IN__: [src/js/component.js#L35](https://github.com/videojs/video.js/blob/master/src/js/component.js#L35) Base UI Component class Components are embeddable UI objects that are represented by both a javascript object and an element in the DOM. They can be children of other components, and can have many children themselves. // adding a button to the player var button = player.addChild('button'); button.el(); // -> button element