Border Radius Variants
Different border radius options for customizing the checkbox appearance
Border Radius Variants
React Checkbox Pro provides various border radius options to match your design preferences.
Example
Available Radius Options
The following border radius variants are available:
none
- No border radius (0px)sm
- Small border radius (2px)md
- Medium border radius (4px) - Defaultlg
- Large border radius (8px)full
- Fully rounded corners (9999px)
Usage
Customization
You can customize the border radius values by:
- Modifying your Tailwind CSS configuration
- Using CSS variables when not using Tailwind
- Applying custom classes to override the default styles
Best Practices
- Use consistent radius values across your application
- Consider the checkbox size when choosing radius values
- Match radius with your application's design system
- Use medium radius as the default for most cases