With add_settings_field() you can select a callback function to generate the html which I think is pretty nice as it gives me some flexibility with how I generate my settings pages.
However having an individual callback function for each field is obviously a bit crazy so it seems much better to have a class that returns html based on args.
I noticed with the theme mods api wordpress has built in classes for various inputs. Is there anything similar for the settings api?
Or if not has anyone made a class with all the various form inputs already done?