• Documentation
  • Ask a Question
  • Zeroplat.io
  • Documentation
  • Ask a Question
  • Zeroplat.io
  • Introduction
    • Welcome to Zeroplat
    • Video Intro
  • Get Started
    • Requirements
    • Installation
  • Management
    • Resources
    • SaaS
      • Multi-tenancy
      • Editions
    • Permissions
    • Organization Units
    • Language
      • Languages
      • Language Texts
    • Roles
    • User
      • Users
      • Invite Users
    • Audit Logs
  • Visual Builder
    • Overview
    • Resources
      • Menu & Navigation
      • Pages
      • Dashboards
      • Components
      • Generate Pages from Datasource
    • Design
      • JS Query
      • Transformer
      • Variable
    • Event Designer
      • Tasks
        • Execute query
        • Start workflow
        • Show page
        • Close Page
        • Set variable
        • Show notification
        • Set components props
      • Switch
        • If
        • Confirm box
        • Confirm popover
    • Data
    • Preview & Publish
    • Components
      • Common Properties
        • Layout
        • Style
        • Actions
        • Validations
        • Tooltip
      • Inputs
        • Button
        • Input
        • InputNumeric
        • ComboBox
        • MulticolumnCombobox
        • Checkbox
        • CheckboxGroup
        • Switch
        • RadioGroup
        • ToggleButtonGroup
        • LocalizedInput
        • Slider
      • Business
        • OrganizationUnitBrowser
        • RoleBrowser
        • UserBrowser
      • Data display
        • DataGrid
      • Editors
        • QuillEditor
      • Feedback
        • Alert
        • Progress
      • File
        • Dropzone
        • FileButton
        • FileInput
      • Layout
        • SplitLayout
      • Navigation
        • TabBar
      • Pickers
        • DatePicker
        • DateTimePicker
        • DateRangePicker
        • DateCalendar
        • TimePicker
        • IconPicker
      • Surfaces
        • Card
      • Charts
        • AreaChart
  • Backend
    • Overview
  • Integrations
    • Overview
    • Environments
    • Database
      • MS SQL
      • SQL Lite
      • My SQL
      • PostgreSQL
    • API
      • Rest API
      • SMTP
      • Google Sheets
      • Twillio SMS
    • Javascript
      • Variable
      • Transformer
      • JS Query
    • Zeroplat Hosted
      • Zeroplat E-mail
  • Workflow (BPM)
    • Overview
    • Building and managing workflows
    • Inbox
    • Outbox
  • Marketplace
    • Overview
    • Management

Components

15 views 0

Written by Zeroplat
7 September 2025

Overview

User Components are reusable building blocks in Zeroplat.
Unlike a standard page or dashboard, a User Component can be designed once and then reused across multiple locations, including:

  • Other Pages
  • Dashboards
  • Even inside other User Components

This modular approach saves time, improves consistency, and ensures a scalable application structure.

User Component Properties

When creating a new User Component, the following properties are available:

  • Name*
    The unique name of the component.
    This name will be used to identify and reference the component in other resources.
  • Icon
    An optional icon that represents the component visually in the resource list.
  • Active
    Defines whether the component is enabled or disabled.
    Disabled components remain in the system but cannot be used in other pages or dashboards.

Steps to Create a User Component

  1. Navigate to Visual Builder → Resources.
  2. Click New → New User Component.
  3. Fill in the required fields:
    • Enter a Name for the component (e.g., AccountComponent).
    • (Optional) Select an Icon.
  4. Set the Active status.
  5. Click Save to create the component.

Designing a User Component

After creating a User Component, the next step is to design its layout and behavior.
Designing a component works the same way as designing a page: the Visual Designer opens, allowing you to add UI elements, configure properties, and bind data.
The main difference is that User Components are reusable and can later be embedded inside pages, dashboards, or even other components.

Accessing Design Mode for a Component

  1. Navigate to Visual Builder → Resources.
  2. From the list of resources, locate the component you want to design (e.g., AccountComponent).
  3. Select the component by checking the box next to its name.
  4. Click the Design button in the top toolbar.

This action will open the Visual Designer interface, where you can build the component’s structure.

What You Can Do in Component Design Mode

Inside the Visual Designer, you can:

  • Add UI Elements
    Insert controls such as input fields, buttons, tables, forms, and charts.
  • Organize Layouts
    Use containers, rows, and grids to define how the component should look.
  • Set Properties
    Configure attributes like labels, styles, validation, and visibility rules.
  • Bind Data
    Connect fields to external data sources (APIs, databases) or pass parameters when used inside a page or dashboard.
  • Define Events & Actions
    Set event handlers such as button clicks, navigation, or triggering workflows.

Publishing a User Component

After designing a User Component in the Visual Designer, it must be published before it can be reused inside pages, dashboards, or other components.
Publishing finalizes the design and makes the component available for use across the application.

Steps to Publish a Component

  1. Open the component in Design Mode.
  2. Add the necessary UI elements, configure properties, and set up events as required.
    • Example: A component called AccountComponent may include account number and name fields.
  3. Once the design is complete, click the Publish button in the top-right corner.
  4. After publishing, the component becomes available in the system and can be inserted into other resources.

Important Note – Refresh Required

After publishing a new component, you must refresh the application to ensure it appears in the available resource list.

  • Without refreshing, the component may not yet be visible in dropdowns or selection menus.
  • Once refreshed, the published component will be ready for immediate use.

Using a User Component in a Page

Once a User Component has been designed and published, it can be reused inside any Page, Dashboard, or even another User Component.
This allows developers to build modular and reusable UI elements, ensuring consistency across the application.

Steps to Add a User Component to a Page

  1. Navigate to Visual Builder → Resources.
  2. Open the page you want to edit by selecting it and clicking Design.
  3. In the left-hand panel, expand the User Components section.
    • All published components will be listed here.
    • Example: AccountComponent.
  4. Drag and drop the desired User Component onto the page canvas.
  5. Adjust layout, properties, and visibility settings from the Inspector Panel on the right side.
  6. Click Save or Publish to apply changes.

Behavior

  • The inserted component behaves exactly as it was designed.
  • Any updates to the User Component design will automatically be reflected wherever it is used, after republishing and refreshing.

Usage Example

  • A User Component called AccountComponent (containing account details) can be:
    • Placed inside a Page called My first page.
    • Reused across multiple dashboards to ensure consistent account information display.

This reduces duplication and ensures that business logic and UI design remain centralized.

Was this helpful?

Yes  No
Related Articles
  • DateCalendar
  • Progress
  • TimePicker
  • IconPicker
  • DateTimePicker
  • DateRangePicker

Didn't find your answer? Contact Us

Previously
Dashboards
Up Next
Generate Pages from Datasource
Copyright 2025 Zeroplat.io. All Rights Reserved