Integrating with communities
Lightning Community is another container for your Lightning Components; as such existing components are likely already close to being able to exist within it and the Lightning Community Builder tool. The most basic requirement is that your components implement the forceCommunity:availableForAllPageTypes
interface.
The same considerations to specify a component .design
file as described in the earlier section also apply so that the components appear correctly in the Lightning Community Builder tool, notably making the components access level global
.
It is also possible to customize the Lightning Community container through components implementing interfaces that provide a custom theme layout, profile header, search and post publisher components and content layouts. Consult the interfaces within the forceCommunity
namespace for more details.