Embedding a Lightning component in Community Cloud Napili Template

When you need to go beyond what is available as standard in the Napili template, Visualforce is not an option, however Lightning components give you the possibility to provide a custom user interface in Napili. It turns out Lightning component is as powerful as Visualforce pages. We can implement logic to perform CRUD operations from our Lightning component or app. Below you will find a few steps and methods in order to create a Lightning component.

1: Create Lightning Component [Developer Console>New>Lightning Component].
2: Provide a name, description and check the component configuration as per your requirement.
3: Now you will be able to see a page and a bundle of controls on the right side.
4: Here are the basic steps for creating a contact record using a Lightning component.