# Blocks Libraries

MOKAStudio can export/import any single block as JSON file, but you can also export a complete library.

A Blocks Library is a collection of blocks of the same category (widgets, pages, etc.).

# Export Library

Select a blocks category and click the button

# Import Library

Select any blocks category and click the button

Select your blocks file save with previous export.

MOKAStudio will automatically recognize the library category and how many blocks to import.

Confirm the import and you now have your blocks loaded in MOKAStudio.

to refresh click again on the blocks category you have imported.

# Custom library

You can create a custom library to export clicking on the library_add on any block from the blocks gallery.

After adding a block to a library you will get a button

Click the button to export your custom library.

Give a name to your library and click Download to export.