Lightning Component Template
The Salesforce team have released a set of lightning component templates that can be deployed/installed in your instance. The templates are a working example and can be used as a quick start to help you to develop a new lightning component to replace your custom button.
Interested in the templates? You can:
Still having doubts? You can refer to the official documentation with complete instruction on how to apply and customize the template to suit your needs.