Importing and Exporting Layouts
Follow the Modpacks guide, but copy the setup into the recipient's Minecraft instance instead of a modpack.
Package the required files from <game-directory>/config/fancymenu/ plus any explicitly referenced assets. <game-directory> is the active launcher/profile directory and is not necessarily .minecraft.