Aura components are the self-contained and reusable units of an app. From a single line of text to a whole app, they stand for a reusable portion of the user interface. Further, in salesforce, many computer languages and frameworks, including javascript and java swing leverage event-driven programming. The framework includes a set of prebuilt components. For example, components that come with the Lightning Design System styling are available in the lightning namespace. They might also have HTML markup or other elements.
A component can contain other components, as well as HTML, CSS, JavaScript, or any other Web-enabled code. This enables you to build apps with sophisticated UIs. Aura offers pre-built components in the UI and aura namespaces. The details of a component’s implementation are encapsulated. Hence, this allows the consumer of a component to focus on building their app, while the component author can innovate and make changes without breaking consumers. The first thing to remember is, Every element belongs to a namespace. For instance,
The following extra properties are available for the aura: component tag.
Attribute Type Description
Module 1 – Create a basic aura component
In the first place, Launch the developer console and select New > Lighting Component.
Name the component, and make sure every box is checked.
Module 2- View Aura component
In detail, for creating an application. New->lighting application.
Module 3&4- interfaces and qualities
By specifying a component’s properties, interfaces establish the component’s shape. Thereafter, create an interface to enable the use of a component in various settings, such as in Lightning App Builder or on a record page. Likewise, this is nothing more than a type of lighting component variable that we utilize to flow data. The two required arguments are kind and Name. Access indicates how variables can be accessed.