The slash through the stem found in acciaccaturas can be applied in other situations.
\version "2.24.0" \relative c'' { \override Flag.stroke-style = "grace" c8( d2) e8( f4) }