I create container for theme options and add fields array to it. Then open this options page, see the title and empty block where the fields should be add. How to display fields?
Carbon Fields 2.1.0
use Carbon_Fields\Container;
use Carbon_Fields\Field;
Container::make( 'theme_options', __( 'Theme Options', 'crb' ) )
->add_fields( array(
Field::make( 'text', 'crb_text', 'Text Field' ),
) );
You can add the code on functions.php and Use this code in below,