Skip to main content

Toolbox Component

The Toolbox component provides a palette of available components and fields that can be added to the canvas. It organizes field types into categories and allows for easy drag-and-drop functionality.

Features

  • Categorized Components: Fields organized by type and function
  • Drag-and-Drop Support: Easy addition of components to the canvas
  • Search Functionality: Quick search for specific field types
  • Custom Components: Support for custom field types
  • Responsive Design: Adapts to different screen sizes

Basic Usage

Field Categories

The toolbox organizes fields into the following categories:
  • Basic Fields: Text, Number, Checkbox, Date, etc.
  • Advanced Fields: Rich Text, File Upload, Rating, etc.
  • Layout Components: Sections, Tabs, Dividers, etc.
  • Custom Fields: User-defined field types

Component Structure

Each component in the toolbox includes:
  • Icon: Visual representation of the field type
  • Label: Name of the field type
  • Description: Brief explanation of the field’s purpose
  • Drag Handle: Element for dragging the field to the canvas

Customization

You can customize the toolbox appearance and behavior:

Adding Custom Field Types

You can extend the toolbox with custom field types:

Integration with Canvas

The toolbox works seamlessly with the Canvas component:

Advanced Usage

Field Templates

You can provide predefined field templates:

Category Customization

You can customize the categories displayed in the toolbox: