CARTO for React

CARTO for React

Introduction

This section contains the API reference for the CARTO for React library. It is a multi-package Javascript library built with Lerna. If you are working with Typescript, there are type declarations available bundled with each package.

We document here only the objects and functions exported from the library for each of the different packages. Click on the package name to access the corresponding API reference:

Package Version Description
@carto/react-api version Integration with CARTO platform APIs
@carto/react-auth version CARTO 2 authentication and authorization
@carto/react-basemaps version Integration with CARTO and Google basemaps
@carto/react-core version Basic utility functions
@carto/react-redux version Application state management
@carto/react-ui version Material-UI theme and user interface components for widgets
@carto/react-widgets version Business logic for widgets