
text
controls allow you to add a simple, single-line text input.
Example
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'text_setting',
'label' => esc_html__( 'Text Control', 'kirki' ),
'section' => 'section_id',
'default' => esc_html__( 'This is a default value', 'kirki' ),
'priority' => 10,
] );