Add example of using the component within an application

To demonstrate how it'd be used in a real application.