Auto Patterns Features

Alpha: Building apps with AI is currently in alpha. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.

Auto Patterns supports a comprehensive set of features from Patterns for building dashboard pages in your Wix apps. When you build an app with AI, the AI assistant automatically generates a patterns.json configuration file with these features. Use the feature list below to refine your initial prompt and specify which features you want included. After the initial build, you can't use the AI assistant to update the Auto Patterns configuration file.

Page types

Auto Patterns includes the following main page types for dashboard pages:

  • Collection pages: Display a list of items in a table or grid layout. Wix users can view, search, filter, and manage multiple items at once.
  • Entity pages: Display a single item from a collection. Wix users can view and edit the item's details. Clicking an item in a collection page opens its entity page.

Collection page features

Layouts

Collection pages support different layout types for displaying data:

FeatureDescription
Table layoutDisplay data in a structured table format with sortable columns, ideal for detailed data comparison and management.
Grid layoutDisplay data in a card-based grid format, ideal for visual content like images or products.
Table and grid view switchAutomatic toggle between table and grid views, allowing a site's users to switch layouts.

Table features

Table layouts include these customization features:

FeatureDescription
Column configurationDefine columns with width, sorting, and display options.
Sortable columnsEnable sorting per column with ascending and descending order.
Default sort orderSet initial sort direction for the table.
Custom columnsAllow a site's users to hide or reorder columns.
Sticky columnsPin columns when scrolling horizontally.
Column overridesCustom rendering for specific columns.
Row data accessAccess all row data in column renderers.
Show or hide title barToggle column headers visibility.
Section renderersGroup table rows with section headers.

Grid features

Grid layouts include card-based display options:

FeatureDescription
Card layoutDisplay items as cards in a grid format.
Card descriptionsConfigure card content with title, subtitle, and image fields.
Card content modesFull display, title-only, or empty display options.
Image placementPosition images at the top or side of cards.

Actions

Collection pages support various action types for managing items:

Collection page actions

General collection page action buttons:

FeatureDescription
Primary actionsMain action buttons displayed prominently, such as create buttons.
Secondary actionsAdditional actions organized in menus.
Create actionsTo create new items, navigate to an entity page.
Custom collection actionsExecute custom JavaScript methods for collection-level operations.

Row-level actions

Row-level actions appear on individual items in a table or grid:

FeatureDescription
Primary actionMain action per row, such as update, delete, or custom actions.
Secondary actionsAdditional row actions displayed in a popover menu.
Update actionsTo edit an item, navigate to an entity page.
Delete actionsBefore removing an item, show a delete confirmation dialog.
Custom row actionsExecute custom JavaScript methods per row.
Inline actionsActions that appear inline or on hover.
Always visible actionsActions always shown, not just on hover.

Bulk operations

Bulk operations allow a site's users to perform actions on multiple selected items:

FeatureDescription
Bulk deleteDelete multiple items simultaneously with confirmation.
Custom bulk actionsExecute custom JavaScript methods on multiple selected items.
Bulk action toolbarToolbar that appears when items are selected.
Primary and secondary bulk actionsOrganize bulk operations into primary and secondary actions.
Multi-selectCheckbox selection for bulk operations.
Select all scopeSelect all items on the current page or the entire collection.
Selection update modePreserve or clear selections when data changes.

Search and filters

Collection pages include search and filtering capabilities:

FeatureDescription
SearchFull-text search across a site's collection data.
Filters panelSide panel with multiple filter types.
Number filtersMin/max range filters with decimal support.
Date and dateTime filtersPredefined presets and custom date ranges.
Boolean filtersTrue/false filters with custom labels.
Enum filtersSingle or multiple selection with various option types.
Tag labelsVisual tags showing active filters.
Filter sectionsGroup related filters together.
Open by defaultAuto-expand specific filters when the page loads.
Reflect query in URLSync filters, search, and sort with browser URL.

Query operations

Collection pages include data query operations:

FeatureDescription
PaginationNavigate through large datasets with page-based or cursor-based pagination.
FilteringFilter data by specific criteria.
SortingSort data by columns or fields.

Entity page features

Layout

Entity pages use a flexible 12-column grid system for organizing content:

FeatureDescription
12-column grid systemResponsive layout system for organizing fields and components.
Main sectionPrimary content area for main entity information.
sidebar sectionSecondary content area for additional details or actions.
Card componentsOrganize content in cards for better visual grouping.
Field layoutDisplay fields with configurable column spans.
Container layoutGroup related fields together.
Custom componentsInject custom React components into entity pages.
Nested containersCreate hierarchical layouts with nested containers.

Actions

Entity pages support additional action types:

FeatureDescription
More actionsAdditional actions menu on entity pages.
Custom entity actionsExecute custom JavaScript methods on entity pages.

Forms

Entity pages include built-in form functionality:

FeatureDescription
Form integrationBuilt-in react-hook-form integration for form handling.
Field validationForm validation with error messages.
Create formsForms for creating new items.
Edit formsForms for modifying existing items.

Shared features

Data sources

Collection and entity pages include the following data source types:

FeatureDescription
CMS collectionsConnect a site's dashboard pages to Wix CMS collections to display and manage content stored in a site's CMS.
Custom data sourcesConnect to external APIs or databases beyond Wix CMS.
FQDN-based custom data sourceIntegrates with Wix Business APIs using FQDNs.
Schema configurationDefine field types and metadata for data sources.

Routing and navigation

Collection and entity pages include the following routing and navigation features:

FeatureDescription
Route configurationDefine routes for collection and entity pages.
Dynamic parametersUse dynamic route parameters to pass data between pages, such as item IDs.
Page relationshipsLink collection and entity pages together.
Reflect query in URLSync filters, search, and sort with browser URL for shareable links.

Customization and overrides

Collection and entity pages include the following customization options:

FeatureDescription
Column overridesCustom rendering for table columns.
Custom componentsOverride field rendering or add standalone UI components.
SlotsInject custom components into collection pages at specific locations.
Custom actionsImplement custom action handlers with JavaScript.
Custom modalsCreate custom modal dialogs.
Custom data sourcesImplement custom CRUD operations.
StylingApply custom styles to columns, rows, or entire pages.

UI features

Collection and entity pages include the following UI enhancements:

FeatureDescription
Empty stateCustom empty state with image, title, subtitle, and call-to-action buttons.
Toolbar titleTitle above table/grid with subtitle, and total count.
Page titleConfigure page header with title and subtitle.
Total count displayShow or hide item counts.
Loading statesAutomatic loading indicators during data fetching.
Error handlingBuilt-in error states and retry logic.
Toast notificationsSuccess and error feedback messages.
Optimistic updatesUI updates before server confirmation for better UX.

Advanced features

Collection and entity pages include the following advanced capabilities:

FeatureDescription
Select all scopeSelect all items on the page or the entire collection.
Selection update modePreserve or clear selections when data changes.

See also

Did this help?