For the complete documentation index, see llms.txt. This page is also available as Markdown.

UI

Appfarm Create's UI designer is a visual tool for structuring and designing the user interface of an app. Simply drag and drop UI components and connect them to data, app flow, and business logic to rapidly compose an interactive interface.

Good to know

The UI/UX crash course in our Showroom contains best practices for UI and UX design, and how to make clean and user-friendly apps.

The UI designer consists of four main sections:

A screenshot of the UI designer in Appfarm Create
The UI designer in Appfarm Create

1. UI components

The Components panel contains the full library of UI components that can be added to an app. The panel is pinned by default. You can collapse it, or unpin it with Unpin panel. Shared components appear in a Shared Components category at the bottom of the panel.

To add a component from the library to a view, either:

  • Click the component to add it as a child of the selected element in the view tree, or

  • Drag and drop the component into either the view tree or the layout designer.

UI components

To add a custom UI component to a view:

  • Drag and drop the component from the list at the bottom of the Views pane into the view tree.

Shareable UI components

2. Views

In the Views pane is a list of all the user interfaces, or views in the app. There are three types of views in Appfarm Create:

  • View, a standard page/screen;

  • Dialog, a modal window placed over a view often used for user confirmation or data entry;

  • Drawer, a persistent element or temporary modal window often used for navigation.

To add a view to an app, click View, Dialog, or Drawer at the top of the Components panel. When the Components panel is unpinned, click the plus icon (Add views and components) at the top of the Views pane to open the same list.

Views consist of UI components that can be in a tree structure by nesting them inside Containers. Branches of the tree can be expanded and collapsed. Select a component to highlight the preview in the layout designer and show the available properties in the properties pane. Right-click a component in the tree, or use keyboard shortcuts to perform operations like copy, paste, and delete.

The views, dialogs, and drawers you have recently opened are shown as tabs above the layout designer. Right-click a tab to Pin it, Close it, Close other Views, or Close Views to the Right. You can also right-click a view, dialog, or drawer in the Views pane and select Pin View. Pinned views are shown first in the row of tabs.

Views

3. Layout designer

The selected view, dialog, or drawer is displayed in the layout designer. You can adjust the settings for responsive design and preview the app in different screen sizes.

Layout designer

4. Component properties

The Properties pane displays the available properties for the selected UI component over up to four tabs:

  • Properties

  • Style

  • Conditional Style

  • Motion

The Style, Conditional Style, and Motion tabs are only shown for components that support them.

Component properties

Last updated

Was this helpful?