Typography field let user select different text properties e.g. Font Size, Font Family, Font Color etc. Working with Google Fonts too.
array(
'id' => 'typography_1',
'type' => 'typography',
'title' => esc_html__( 'Typography', 'plugin-name' ),
// optional
'default' => array(
'family' =>'Arial',
'variant' =>'400',
'size' => 16,
'height' => 24,
'color' => '#27695e',
),
'preview' => true, // optional, to activate preview
),