[bug]: checkbox indicator invisible for print media in light mode
Author: jenewland1999Created Jul 23, 2025Updated Sep 16, 2026
Labelsbug
Describe the bug
The checkbox indicator, that's the tick in most cases, is not visible for print media (ctrl+p / cmd+p) in light mode. This is because it renders as white in light mode against a black background. However, in print the black background is not present and thus the indicator is not visible.
Screen media:
Print media:
Affected component/components
Checkbox
How to reproduce
- Go to https://ui.shadcn.com/docs/components/checkbox
- Enter your browser's print preview dialog (
cmd+porctrl+p) - See that the checkbox indicator is not visible
Codesandbox/StackBlitz link
https://ui.shadcn.com/docs/components/checkbox
Logs
n/aSystem Info
macOS 15.5
Google Chrome 138.0.7204.158 (Official Build) (arm64)Before submitting
- I've made research efforts and searched the documentation
- I've searched for existing issues
Source: shadcn-ui/ui