TokenTypography
Label
Compact label typography tokens for form inputs, buttons, chips, tags, and tabs
Ux4gTheme.typography.l*
Label tokens provide structured compact typography for interactive UI controls including buttons, chip selections, input form labels, and status badges.
The quick brown fox jumps over the lazy dog
Label S (Default)Medium
Size11spLine14spWeight500 (Medium)
Ux4gTheme.typography.lS_defaultThe quick brown fox jumps over the lazy dog
Label S (Strong)Bold
Size11spLine14spWeight700 (Bold)
Ux4gTheme.typography.lS_strongThe quick brown fox jumps over the lazy dog
Label M (Default)Medium
Size12spLine16spWeight500 (Medium)
Ux4gTheme.typography.lM_defaultThe quick brown fox jumps over the lazy dog
Label M (Strong)Bold
Size12spLine16spWeight700 (Bold)
Ux4gTheme.typography.lM_strongThe quick brown fox jumps over the lazy dog
Label L (Default)Medium
Size14spLine18spWeight500 (Medium)
Ux4gTheme.typography.lL_defaultThe quick brown fox jumps over the lazy dog
Label L (Strong)Bold
Size14spLine18spWeight700 (Bold)
Ux4gTheme.typography.lL_strongThe quick brown fox jumps over the lazy dog
Label XL (Default)Medium
Size16spLine20spWeight500 (Medium)
Ux4gTheme.typography.lXL_defaultThe quick brown fox jumps over the lazy dog
Label XL (Strong)Bold
Size16spLine20spWeight700 (Bold)
Ux4gTheme.typography.lXL_strongJetpack Compose Usage
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import com.ux4g.designsystemv1.theme.Ux4gTheme
@Composable
fun FieldLabel() {
Text(
text = "Aadhaar / Mobile Number",
style = Ux4gTheme.typography.lL_strong,
color = Ux4gTheme.colorScheme.onSurface
)
}