expose and pass in customWidth option to svg generator