This library is still in development and is available only for internal usage at VTEX.
Skip to main content

DataView

DataView

Version: Next

DataView

DataView containers allow merchants to view and control a set of items in one or more layout types.

The DataViewHeader arranges all the components that control or changes the displayed data. These components can be buttons, search forms, pagination, menus, filters, and so on.

Rendering Data

The useDataViewState keeps track of ready, loading, empty, error, and not-found states. It also has default illustrations for empty, error, and not-found so that you only need to handle the ready and loading states.

Data

With Skeleton

Example of a skeleton collection.

Handmade Frozen Chair

Ergonomic Soft Pizza

Refined Steel Chair

Unbranded Wooden Shirt

Licensed Metal Shoes