Responsive font sizes for better readability on different screen sizes in React Native #2734
Open
1 of 6 tasks
Labels
bug
Something isn't working
Description
Currently, fonts used in gluestack-ui for React Native are not responsive. This leads to text looking either too large on larger screens or too small on smaller screens. It would be great if there was an option to make fonts responsive based on screen dimensions or use relative font sizes that scale according to device screen size and resolution.
Expected Behavior:
Font sizes should adjust automatically based on the screen size and resolution, similar to how rem, em, or vw works in CSS for the web. In React Native, we could achieve this using the react-native-responsive-fontsize package or by manually calculating font size based on screen width/height.
CodeSandbox/Snack link
Any New App
Steps to reproduce
gluestack-ui Version
CLI - 0.7.20
Platform
Other Platform
No response
Additional Information
Environment:
The text was updated successfully, but these errors were encountered: