We review magnetic, superconducting and non-Fermi-liquid properties of the structurally layered heavy-fermion compounds Ce$_n$M$_m$In$_{3n+2m}$ (M=Co, Rh, Ir). These properties suggest d-wave superconductivity and proximity to an antiferromagetic quantum-critical point.