PubSweet Components

A PubSweet component is a Node.js module that can extend or change functionality of the server and/or client of a PubSweet app.

Components build on the core modules to provide the actual functionality of a PubSweet app. By combining the components you need, you can build any publishing platform or workflow you can imagine.

Start using them straight away, or see how components work with an example.

Next steps

An example: user login

The login component provides basic user login functionality in the client. It does this by exporting:

You can install the login component and instantly have login functionality in your app. You can also pick and choose which parts of the component you use. You example you could build your own React login form and still make use of the redux actions and reducers from the login component, or keep the existing form but provide a new style.

Next let's talk about using components