Skip to content

feat(ui5-checkbox): enable font-size based scaling for standalone checkboxes#13021

Open
NakataCode wants to merge 1 commit intomainfrom
checkbox-font-size-risizing
Open

feat(ui5-checkbox): enable font-size based scaling for standalone checkboxes#13021
NakataCode wants to merge 1 commit intomainfrom
checkbox-font-size-risizing

Conversation

@NakataCode
Copy link
Contributor

Implement font-size based scaling for standalone CheckBox components, allowing developers to easily resize checkboxes by setting CSS font-size and removing the padding by setting it to 0.

🎯 Changes

  • ✅ CheckBox now scales proportionally based on font-size value
  • ✅ All visual elements scale uniformly (box, checkmark, focus outline)
  • ✅ Padding can be controlled independently for spacing adjustments
  • ✅ Maintains perfect proportions across all sizes

💡 Usage Example

<ui5-checkbox style="font-size: 32px; padding: 0;"></ui5-checkbox>

@ui5-webcomponents-bot
Copy link
Collaborator

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 4, 2026 15:04 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants