To display text input field you can use the following code sample,
Code sample
array( 'id' => 'some_id_text_field', 'title' => __('Text Field','text-domain'), 'details' => __('Description of text field','text-domain'), 'type' => 'text', 'default' => 'Default Text', 'placeholder' => __('Text value','text-domain'), ),
Preview