The derivative may be defined on functions mapping one normed vector space to another. The idea is always that the derivative of a function $f$ at a point $x$ in its domain provides a linear approximation to the behavior of the function. That is, the derivative $f'(x)$ is the linear operator in the approximation formula
\[
f(x+h) = f(x) + f'(x)h + E(x;h),
\]
where $E$ is an error function of order $||h||^2$.
In one-dimensional calculus, $f$ maps the real line into itself, so
$f'(x)$ may be thought of as a number, the slope of a tangent line. It could also be regarded as a linear operator mapping the real line to itself, the operator of multiplication by the number.
In vector calculus, $f$ might map $\mathbb{R}^m$ to $\mathbb{R}^n$. A linear operator mapping $\mathbb{R}^m$ to $\mathbb{R}^n$ may be represented by multiplication by an $n \times m$ matrix. (This is where $h$ might be considered an $m$-vector, a "direction".)
In your case, $f(A) = \det A$, a function that maps the vector space of real $n \times n$ matrices into $\mathbb{R}$. Therefore, its derivative is a linear operator mapping the space of $n \times n$ matrices into $\mathbb{R}$.
The answer to your question is: the $B$ in the formula is a generic real $n \times n$ matrix. (The approximation is good when $||B||$ is small enough.)
That raises the question of the representation of the derivative of the determinant. It can't simply be represented as square matrix multiplication. With the elements of $B$ given by $(b^\nu_\mu)$, and elements of the linear transformation $f'(x)$ given by $(t^\mu_\nu)$, something like $f'(x)B = \sum_{\mu,\nu} t_\mu^\nu b^\mu_\nu$ does the job.
I should point out that, in some restricted cases, there are simpler representations of the derivative of the determinant. For example, in the space of $n\times n$ conformal matrices, that is, matrices $A$ for which $A^T A = \alpha^2 I$, where $\alpha$ is a real number.