LinkedIn
Copied!

Table of Contents

Reusing UI Gallery examples in an application

Version:

Only available versions of this content are shown in the dropdown

Accelerate application development with ready-to-use components from the UI Gallery landing page.

The UI Gallery provides sample, guardrail-compliant design patterns that follow best practices for delivering valuable user experience. You can use these components as reference when you create your own user interface, or copy them directly to your application for immediate reuse. For example, if you change the data source for the shopping cart design, you can use it in your application without further changes.
  1. In the header of Dev Studio, click Configure User Interface Gallery UI elements .

  2. In the Showcase or Available components section, select the element that you want to reuse.

    You can return to the UI Gallery at any time by clicking the element name in the tab header, and then clicking Return to UI Gallery Overview.
  3. In the right sidebar, click View design-time configuration.

  4. On the section tab that opens, click Save as.

  5. In the New tab, in the Add to ruleset list, select the name and version of the ruleset that your application uses.

  6. Click Create and open.

The UI component is now in your application ruleset. You can add it to your application as a saved section.

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.