This is a derived question of How to build a table of fixed width and fixed height? (Edit: the question left now is about color overwrite)
Now I don't need to worry about the color. The layout I want to achieve is as follows:

I try to modify the code of @F. Pantigny to achieve this:
\begin{frame}{Title}
\centering
\renewcommand{\arraystretch}{1.4}
\begin{NiceTabular}{cccc}[colortbl-like,columns-width=auto]
& & $A\left(B_C\right)$ & \
& {\small aaaaaaaaaa} & {\small aaaaaaaaa} & {\small aaaaaaaaaaaaa} \
{\small ABC} & \Block[hvlines]{-}{} $\times$ & $\checkmark-$ & $\checkmark$\
{\small non-IBC but DEF} & $\checkmark$ & $\checkmark$ & $\checkmark$ \
{\small non-DEF} & $\checkmark$ & $\checkmark$ & $\checkmark+$ \
$A\left(A_A, B_{BC}\right)$ & & &
\end{NiceTabular}
\end{frame}
But the above code makes the last row have border line. I think that is because of "\Block[hvlines]{-}{}". But if I delete it, I will lose all the border lines. I was wondering how to circumvent this problem. Thank you very much!

Blockcommand – js bibra Oct 10 '21 at 07:14