#7881·ui

[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:

Image

Print media:

Image

Affected component/components

Checkbox

How to reproduce

  1. Go to https://ui.shadcn.com/docs/components/checkbox
  2. Enter your browser's print preview dialog (cmd+p or ctrl+p)
  3. See that the checkbox indicator is not visible

Codesandbox/StackBlitz link

https://ui.shadcn.com/docs/components/checkbox

Logs

bash
n/a

System Info

bash
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