Exporting components

does anyone know where I can find a good tutorial on the details involved with exporting a custom component?