Mason features are functional pieces of UI that perform common (or custom) client-side application functions. Examples include Login and News Feed. We also provide a Canvas feature where you can create a custom UI from scratch.
In the new feature dashboard, select a template as a starting point and give it a name. A good template for testing is Login.
Add an SDK to your application
If you're adding Mason to a React application, simply add it as a dependency. If you'd like to create a new application, use our React quickstart.
If you're not using React, you can include Mason features compiled as HTML custom elements by including the following script tag in your document header.
In the Mason Builder, after you've built a few features and published them, click the deploy button in the top right. Follow the deploy instructions, and you're live!
Load the page in your browser and verify that your feature renders.
Congratulations! You may now modify your feature in the Mason Builder without redeploying.