Option sets

A list of all the option sets we use in openBuild (and why)

🔒 System

Main option set to manage your app-related assets and content like the app name or logo. Read more about it in this section.

🔔 Toast Category

Option set listing the type of Toast Messages. These are linked to the Tag Colors option set. This option set is used for Alerts and linked to a Custom Event called 🔔 Toast used throughout the app. Read how it works in this section.

🎨 UI Colors

UI Colors option set is used on top of the Styles in the app.

UI Colors display. Find yours on /styleguide page

📱Viewport

The viewport option set is used throughout the app to give you granular controls on your responsive design.

User Types

Using a predefined user type will help you in setting permission rules as opposed to using a simple text field that is error-prone. By default you find two options in the User Types option set:

  • Admin - administrator of the app. This type has access to the admin page.

  • User - normal app user.

You can add as many User types as you want, but it's good practice to keep the list simple. If you need more flexible way to control what User can see and do, you might consider creating a Permission option set.

Tag Colors

Tag Colors can be used by directly referring to it from the editor or it can also be used by linking it to a database field.

TAG Colors table. See it on /styleguide page in the template

Using an option set together with Custom events will allow you to build faster and reduce the number of bugs when working with Single Page Apps and cross-page navigation. It also opens up more advanced possibilities such as creating complex onboarding experiences.

Read how to use it in this section.

🧭 Element display

This option set is dedicated to creating navigation in elements that can be used throughout multiple pages. It is used mainly in combination with reusable elements such as 🍿CRUD Popup or 👥 User Access Management.

Read more about how to use it in this section.

Last updated