Introduction

Layered two-dimensional (2D) magnetic materials offer an emerging platform for fundamental studies of magnetism in the 2D limit. Their stackability into van der Waals heterostructures opens pathways to non-trivial magnetic phases and technological applications, including sensors, memories and spintronic logic devices1. In addition to ferromagnetism, first observed in CrI32 and Cr2Ge2Te63, antiferromagnetism in 2D materials has also been studied in FePS34 and CrSBr5. Antiferromagnetic (AF) materials are of particular technological interest due to their high spin-wave propagation speed and lack of macroscopic stray fields, making them strong candidates for spintronic and magnonic applications6,7,8,9,10.

For insulating, thin AF materials, such as MPS3 (M(II) = Fe, Co, Ni), few methods are available to study their intrinsic magnetism. Conventional techniques, such as neutron scattering, magnetization measurement by a superconducting quantum interference device (SQUID) or vibrating sample magnetometry are challenging, due to the small volumes of exfoliated 2D materials. Other methods, suited to 2D materials, require electrical conductance, the presence of specific optical modes or ferromagnetic order; they are therefore difficult to apply1. In contrast, strain applied to 2D magnetic materials was shown to be extremely powerful, inducing magnetization reversal11, reorientating the easy-axis12, or reversing the exchange interaction13. In addition, the direct coupling between strain, resonance frequency and magnetization in membranes of 2D magnets, makes nanomechanical resonance a sensitive method for studying their phase transitions14,15,16.

Here, we show, guided by density functional theory (DFT), that the magnetic order parameter of MPS3 AF membranes can be quantified through the anisotropy in their magneto-elastic response; from its temperature dependence the critical exponents are determined, and their thickness dependence is investigated.

Results and discussion

First principles analysis of spontaneous magnetostriction in MPS3

Transition-metal phosphorus trisulphides, with general formula MPS3, are layered materials stacked in a monoclinic lattice with symmetry group C2/m17, as shown in the top view of a single-layer in the paramagnetic phase, Fig. 1a, top panel. The spins of FePS3 point out-of-plane, whereas both CoPS3 and NiPS3 are in-plane systems with their spins preferentially aligned along the a axis. The intralayer AF order forms a zigzag configuration, as shown in bottom panel of Fig. 1a, leading to two opposite aligned magnetic sub-latices. The difference of the magnetization between these sub-latices is the Néel vector. In bulk CoPS3 and NiPS3, these layers with this staggered magnetism are stacked in a ferromagnetic (FM) fashion with Néel transition temperatures, TN, around 119 and 155 K, respectively18,19. The interlayer magnetic interactions in FePS3 are AF with a transition around 118 K20.

Fig. 1: Magnetostriction in MPS3 membranes.
figure 1

a, top panel, Crystalline structure of MPS3 in the paramagnetic phase (T > TN). Black hexagons indicate the organization of magnetic atoms in the lattice. a, bottom panel, Crystalline structure of MPS3 at the AF phase (T < TN) as it elongates in the b and contracts in the a direction. Light blue and red arrows indicate the axial lattice distortion. b, Illustration of the exchange interaction parameters included into the Heisenberg spin Hamiltonian. Calculated maximally localized Wannier orbitals. Green arrows illustrate the most relevant FM superexchange channels for J1 (J\({}_{1}^{{\prime} }\)) (c) and J2 (d), corresponding with the dyz-dyz (dxz-dxz) and dxy-dxy orbitals, respectively. ef, Electron configuration of the Fe2+ magnetic ions connected by J1 (e) and J2 (f), showing parallel and antiparallel spin orientations, respectively.

To analyze the effect of magnetic ordering on the lattice, we performed first principles structural optimizations of FePS3, CoPS3 and NiPS3 based on density functional theory (DFT). For the ground state zigzag magnetic configuration, the calculations predict a compression of the a lattice parameter with respect to the crystallographic, non-magnetic structure of 2.545% and 1.328% for the Co and Fe derivatives respectively (see Table 1). In addition, the b axis expands by 0.402% (Co) and 0.359% (Fe). In contrast, in NiPS3 the lattice parameters remain almost unchanged. The crystal and magnetic structures are strongly connected in these compounds, which is further corroborated by simulations of different spin configurations (see Supplementary Note 1).

Table 1 CoPS3, FePS3 and NiPS3 lattice parameters of the crystallographic non-magnetic (NM) and fully optimized zigzag antiferromagnetic (AF-zigzag) configurations, as calculated by DFT (see Supplementary Note 1)

We studied the 2D nature of the magnetostriction by simulating the evolution of lattice parameters in multilayer monoclinic FePS3 (which presents AF interlayer coupling), obtaining similar results (1.462% compression in the a axis and 0.437% expansion in the b axis). This indicates that the observed effect is independent of the stacking and interlayer interactions.

The microscopic mechanism governing the spontaneous magnetostriction in these materials is studied using orbital-resolved magnetic exchange analyses based on maximally localized Wannier functions, (see Supplementary Note 1). The analysis shows that the spontaneous magnetostriction calculated in FePS3 and CoPS3 arises from isotropic magnetic exchange interactions between t2g-t2g orbitals. Specifically, for FePS3 the main magnetic exchange channels, substantially affected by the compression of the a and expansion of the b lattice parameters, are the ones involving t2g-t2g interactions of FM nature. The changes in the lattice parameters result in an increase in J1 and \({{{{{\rm{J}}}}}}^{{\prime} }_{1}\) due to a decrease in distance between the dyz-dyz and dxz-dxz orbitals, respectively (Fig. 1c). Simultaneously, these changes cause a decrease of J2 due to a larger separation of the dxz-dxz orbitals (Fig. 1d). This is compatible with the electron configuration of Fe2+ (d6), which has these orbitals partially filled and allows FM hopping between them (Fig. 1e, f).

This hopping effect also occurs for Co2+ (d7) although the additional electron present for Co blocks the dxy-dxy pathway (Supplementary Note 1, Fig. S2). This results in a stronger effect along J1 and \({{{{{\rm{J}}}}}}^{{\prime} }_{1}\) for the optimized structure, maximizing FM interactions in the zigzag chain, which involve the dyz-dyz and dxz-dxz orbitals, respectively. For the Ni2+ derivative (d8), the t2g energy levels are fully occupied (Supplementary Note 1, Fig. S3), which results in a blocking of the t2g-t2g magnetic super-exchange channels. This leads to an almost negligible modification in the lattice parameters of the optimized structure with respect to the crystallographic non-magnetic one.

Resonance frequency changes due to spontaneous magnetostrictive strain

The predicted anisotropic change of lattice parameters when going from the paramagnetic to the AF phase, causes compressive stress, σa, and tensile stress, σb, along the a axis and b axis respectively, as illustrated in Fig. 1a, bottom pannel. To quantify this anisotropy appearing at the phase transition, we use rectangular membranes, shown in Fig. 2b, to nanomechanically probe stress variations, along a specific crystallographic axis21 (see Supplementary Note 2). In the following analysis, we neglect the stress contribution from the thermal expansion of the substrate, as this is small compared to that of the MPS3 compounds14.

Fig. 2: Angle-resolved mechanical characterization via laser interferometry.
figure 2

a Schematic illustration of the laser interferometry setup and sample with rectangular cavity array. b Optical image of the rectangular membranes array for a CoPS3 sample. The a and b axis are determined from the resonance frequency behavior. Scale bar: 12 μm. Schematic of 0 and 90 membranes from the array where w is the width of the membrane and l its length. c Measured amplitude of the fundamental resonance peak in a CoPS3 drum at T = 10 K and Lorentzian fit used to extract the fundamental resonance frequency, \({f}_{{{{{{{{\rm{res}}}}}}}}}\), and quality factor, Q. d Temperature dependence of \({f}_{{{{{{{{\rm{res}}}}}}}}}\) of a CoPS3 rectangular membrane, shown are fa (blue) and fb (red) as defined in Eq. (2). The arrows show the dominant magnetostrictive strain contributions for the corresponding cavities. The dashed line indicates the transition temperature TN extracted from the data. e Resonance frequency difference, \({f}_{{{{{{{{\rm{res}}}}}}}}}(T)-{f}_{{{{{{{{\rm{res}}}}}}}}}(140\,{{{{{{{\rm{K}}}}}}}})\), as a function of angle and temperature. The dashed line indicates the transition as in (d). f Polar plot of \({f}_{{{{{{{{\rm{res}}}}}}}}}(T)-{f}_{{{{{{{{\rm{res}}}}}}}}}(140\,{{{{{{{\rm{K}}}}}}}})\) taken along the red dashed line in (e). g–i follow the same structure as (ce) for NiPS3 resonators with negligible anisotropy, measured between 5 K and 190 K.

The resonance frequency of the fundamental mode of a rectangular membrane, fres, is approximately given by22:

$${f}_{{{\mbox{res}}}}\approx \frac{1}{2}\sqrt{\frac{1}{\rho }\left[\frac{1}{{w}^{2}}{\sigma }_{{{{{{{{\rm{w}}}}}}}}}+\frac{1}{{l}^{2}}{\sigma }_{{{{{{{{\rm{l}}}}}}}}}\right]}\,,$$
(1)

where ρ is the mass density, w and l are respectively the width and length of the membrane, as indicated in Fig. 2b, and σw,l are the stresses parallel to these directions. For high-aspect-ratio membranes (wl), the mechanical resonance frequency is mostly determined by the stress along the shortest direction, σw. The membranes shown in this work range in aspect ratio from 1 to 5 up to 1 to 12, corresponding to the σl pre-factor being smaller by a factor of 25 up to 144 as compared to the σw pre-factor.

We study the resonance frequency of thin MPS3 flakes suspended over star-shaped cavities with 30° angular resolution, as shown in an example device in Fig. 2b. When the longest side of the cavity is aligned along a crystallographic axis (a or b) and wl, its fundamental resonance frequency (fa or fb) is determined by the stress along the perpendicular axis (σb or σa):

$${f}_{{{{{{{{\rm{a}}}}}}}}}\approx \frac{1}{2}\sqrt{\frac{1}{\rho {w}^{2}}{\sigma }_{{{{{\rm{b}}}}}}}\,\,{{\mbox{and}}}\,\,{f}_{{{{{{{{\rm{b}}}}}}}}}\approx \frac{1}{2}\sqrt{\frac{1}{\rho {w}^{2}}{\sigma }_{{{{{\rm{a}}}}}}}\,.$$
(2)

On cavities oriented at an intermediate angle, θ, (defined with respect to the b axis), the resonance frequency is:

$${f}_{\theta }(T) \, \approx \frac{1}{2}\sqrt{\frac{1}{\rho {w}^{2}}\left[{\sigma }_{{{{{{{{\rm{a}}}}}}}},\theta }+{\sigma }_{{{{{{{{\rm{b}}}}}}}},\theta }\right]},\\ {\sigma }_{{{{{{{{\rm{a}}}}}}}},\theta } =\frac{E}{(1-{\nu }^{2})}({\cos }^{2}\theta+\nu {\sin }^{2}\theta )(\bar{\epsilon }-{\epsilon }_{{{{{{{{\rm{ms}}}}}}}},{{{{\rm{a}}}}}}),\\ {\sigma }_{{{{{{{{\rm{b}}}}}}}},\theta } =\frac{E}{(1-{\nu }^{2})}({\sin }^{2}\theta+\nu {\cos }^{2}\theta )(\bar{\epsilon }-{\epsilon }_{{{{{{{{\rm{ms}}}}}}}},{{{{\rm{b}}}}}}),$$
(3)

where we have used the constitutive equations for a magnetostrictive membrane with plane stress23, while only keeping the anisotropy in the magnetostriction coefficient, Supplementary Note 2. Here, E is the Young’s modulus and ν is Poisson’s ratio of the material. Moreover, we have \(\bar{\epsilon }={\epsilon }_{{{{{{{{\rm{fab}}}}}}}}}-{\epsilon }_{{{{{{{{\rm{th}}}}}}}}}\), with ϵfab the residual fabrication strain and ϵth the phononic thermal expansion induced strain variation. The magnetostrictive strain along the a and b-axes is given by ϵms,a,b = λa,bL2, respectively (see Supplementary Note 3 for a detailed derivation of Eq. (3)), where λa,b are magnetostriction coefficients and L2 is the AF order parameter squared.

The temperature dependence of the resonance frequency comprises two contributions: one due to the phononic thermal expansion coefficient α, given by \({\epsilon }_{{{{{{{{\rm{th}}}}}}}}}(T)=\int\nolimits_{{T}_{0}}^{T}\alpha (\tilde{T}){{{{{{{\rm{d}}}}}}}}\tilde{T}\), where T0 is a reference temperature and \(\tilde{T}\) the integration variable, and the magnetostrictive contribution ϵms,a,b(T) = λa,bL2(T). The former contribution is a slowly varying function of T, while the latter term contains the staggered magnetization, which increases abruptly near the phase transition; it thus can be used to determine L(T), as we will show below. We assume λa,b to be T independent, as its temperature dependence will be negligible when compared to that of L(T).

Nanomechanical determination of the order parameter

To quantify the anisotropy in the magnetic membranes, a laser interferometry technique is used to measure their resonance frequency as a function of temperature24. A MPS3 flake, suspended over holes in a patterned Si/SiO2 chip, Fig. 2b, is placed inside a cryostat with optical access as shown in Fig. 2a. Both actuation and detection are done optically, by means of a power-modulated blue laser which opto-thermally excites the fundamental resonance, and a constant red laser which measures the change in the reflected signal resulting from the membrane’s motion14. A typical resonance is shown in Fig. 2c, along with the damped harmonic oscillator model fit defining the resonance frequency. Figure 2d shows that in CoPS3 fa and fb exhibit a similar temperature dependence for T > TN, while diverging behavior below the phase transition T < TN is visible, namely an increase of fa and a decrease of fb relative to an overall isotropic increase. This sudden change in f(T) for the perpendicular cavities, occurring near TN, constitutes, in accordance with the DFT calculations, the central result of this work as it shows that the magnetic ordering in MPS3 leads to anisotropic strain and thus spontaneous magnetostriction. We further note that strictly speaking, TN should be replaced by \({T}_{{{{{{{{\rm{N}}}}}}}}}^{*}\) which includes the effects of strain (see Supplementary Note 2). For simplicity, we here use the notation TN for the measured transition temperatures.

The anisotropic behavior of CoPS3 in the AF state is even more evident in Fig. 2e, where \({f}_{{{{{{{{\rm{res}}}}}}}}}(T)-{f}_{{{{{{{{\rm{res}}}}}}}}}(140\,{{\mbox{K}}}\,)\) for the different cavities of the star-shaped sample are plotted as a function of θ and temperature. The polar plot in Fig. 2f shows the data along the red dashed line at T = 70 K in Fig. 2e and results in a characteristic dumbbell-shape. Similar anisotropic behavior is observed in FePS3 as shown in Supplementary Note 4. On the contrary, for NiPS3 negligible anisotropy is observed in the angle-resolved magnetostriction data in Fig. 2g–i.

To obtain L(T) from the data, we first subtract the pretension contribution from the resonance frequency fθ(T0) by calculating \({\tilde{f}}_{\theta }^{2}(T)={f}_{\theta }^{2}(T)-{f}_{\theta }^{2}({T}_{0})\), for each angle, where T0 = 150 K is the highest temperature in our measurements. The resulting values of \({\tilde{f}}_{\theta }^{2}(T)\) along the crystalline axes a and b are shown in Fig. 3a, d, g for the three MPS3 compounds. Note that this is not the same data as shown in Fig. 2, but of a sample with thickness and geometry closer to that of the sample Fig. 3d, e, f, for ease of comparison. With Eq. (3), we then calculate the difference \({\tilde{f}}_{{{{{{{{\rm{b}}}}}}}}}^{2}(T)-{\tilde{f}}_{{{{{{{{\rm{a}}}}}}}}}^{2}(T)\) which yields

$${\tilde{f}}_{{{{{{{{\rm{b}}}}}}}}}^{2}-{\tilde{f}}_{{{{{{{{\rm{a}}}}}}}}}^{2}=\frac{E}{4\rho {w}^{2}(1+\nu )}\left[{\lambda }_{{{{{{{{\rm{a}}}}}}}}}-{\lambda }_{{{{{{{{\rm{b}}}}}}}}}\right]{L}^{2}.$$
(4)

We can now use Eq. (4) to access the critical behavior of L below TN by plotting  \({\tilde{f}}_{\,{{{{\rm{b}}}}}\,}^{2}-{\tilde{f}}_{{{{{{{{\rm{a}}}}}}}}}^{2}\) as a function of temperature. As shown in Fig. 3b, e, h, the trend presents the typical critical behavior with a non-zero order parameter appearing in the ordered state for T < TN. Figure 3c, f, i shows the same critical curve as Fig. 3b, e, h respectively, plotted on a logarithmic scale against the reduced temperature (1 − T/TN). Note that the difference \({\tilde{f}}_{{{{{{{{\rm{b}}}}}}}}}^{2}-{\tilde{f}}_{{{{{{{{\rm{a}}}}}}}}}^{2}\) for NiPS3, is substantially smaller than that of the Fe/CoPS3 membranes indicative of a weaker anisotropic magnetostrictive behavior.

Fig. 3: Anisotropy and critical behavior in resonance frequency of MPS3 (M(II) = Co, Fe, Ni) membranes.
figure 3

a Pretension corrected resonance frequency (\({\tilde{f}}_{{{{{{{{\rm{a}}}}}}}}}^{2}(T)={f}_{{{{{{{{\rm{a}}}}}}}}}^{2}(T)-{f}_{{{{{{{{\rm{a}}}}}}}}}^{2}(150\,{{\mbox{K}}}\,)\) (light) and \({\tilde{f}}_{{{{{{{{\rm{b}}}}}}}}}^{2}(T)={f}_{{{{{{{{\rm{b}}}}}}}}}^{2}(T)-{f}_{{{{{{{{\rm{b}}}}}}}}}^{2}(150\,{{\mbox{K}}}\,)\) (dark) of rectangular membranes of CoPS3. b Difference of the corrected frequency squared \({\tilde{f}}_{{{{{{{{\rm{b}}}}}}}}}^{2}-{\tilde{f}}_{{{{{{{{\rm{a}}}}}}}}}^{2}\) proportional to the order parameter L2 from Eq. (4). The dashed-dotted line indicates the measured transition temperature TN. The dashed black line is a powerlaw fit through the data close to TN (see Supplementary Note 6). c Difference of the corrected frequency squared \({\tilde{f}}_{{{{{{{{\rm{b}}}}}}}}}^{2}-{\tilde{f}}_{{{{{{{{\rm{a}}}}}}}}}^{2}\) as a function of the reduced temperature 1 − T/TN. The dashed black line is the fit from b where the slope defines the critical exponent 2β. df and gi follow the same structure as (ad) for FePS3 and NiPS3 resonators, respectively.

The angle dependence of the resonance frequencies allows us to estimate the ratio rab = λa/λb between the magnetostriction parameters, λa,b, (see Supplementary Note 3). This ratio we directly compare to DFT calculations: Experimentally, we find for FePS3, rab = − 2.3 ± 0.3 while from the DFT calculations we estimate rab = − 3.70. For CoPS3 (taking25\({\nu }_{{{{{{{{{\rm{CoPS}}}}}}}}}_{3}}=0.293\)), the experimental value is −1.42 ± 0.07 and the DFT one − 6.33. We conclude that although both the sign and order of magnitude of the magnetostrictive anisotropy in these compounds are well reproduced in the current work, more detailed studies will be needed to obtain full quantitative correspondence with theory.

Thickness dependence of critical behavior

When transitioning from 3D systems to 2D systems the magnetic order is generally changed. For isotropic 2D systems the Mermin-Wagner theorem forbids magnetic order as it will be destroyed by thermal fluctuations. However for anisotropic 2D systems different magnetic orders can exist, such as Ising, XY and Kosterlitz-Thouless phases26. By varying the thickness, i.e., the number of layers, of the MPS3 compounds we are able to investigate the transition from the bulk 3D behavior to the 2D behavior.

As follows from Landau’s theory of phase transitions (see Supplementary Note 2), L(T) near TN is given by

$${L}^{2}(T)=\left\{\begin{array}{ll} 0\hfill\quad &\,{{\mbox{if}}}\,T \, > \, {T}_{{{{{{{{\rm{N}}}}}}}}}\\ \frac{A}{2B}{({T}_{{{{{{{{\rm{N}}}}}}}}}-T)}^{2\beta }\quad &\,{{\mbox{if}}}\,T \, < \, {T}_{{{{{{{{\rm{N}}}}}}}}},\end{array}\right.$$
(5)

where A and B are constants and β is a critical exponent representative of the magnetic order. We fit Eq. (5) to the data in Fig. 3b, e, h in the region close to TN (indicated by the black dashed line in Fig. 3b, e, h) to extract the critical exponent β and TN for the three materials (see Supplementary Note 6 for more details on the fitting procedure). In the logarithmic plot of the critical curve the fitting of a straight line shows good agreement to the data points, consistent with the result of Eq. (5). The values for β and TN are plotted in Fig. 4 as a function of thickness, t, and listed in Supplementary Note 6, Table 49.

Fig. 4: Thickness dependence of critical behavior.
figure 4

Average critical exponent, β, and critical temperature, TN, of MPS3 resonators plotted as a function of thickness. The blue stars indicate CoPS3 bulk values from31. Critical parameters have been determined from power law fits to \({\tilde{f}}_{{{{{{{{\rm{b}}}}}}}}}^{2}-{\tilde{f}}_{\theta }^{2}\), as shown in Fig. 3b, e, h, and then taking the average value over the fit parameter for all angles θ ≠ 0. Error bars are calculated from standard deviation of fit results for all θ. The horizontal gray dashed lines in the upper plot indicate the expected values of β for the 3D or 2D versions of the Heisenberg (H), XY or Ising (Is) models. The blue dashed line in the lower panel indicates a fit to Eq. (6) through the CoPS3 data with νeff = 0.84 ± 0.13.

For the weakly anisotropic NiPS3, β = 0.218 ± 0.016, comparable to the value (β = 0.22 ± 0.02) found in ref. 27, and consistent with the expected 2D XY magnetic dimensionality (β2DXY = 0.233) of NiPS328. For FePS3 we find β = 0.208 ± 0.033, comparable with literature values29. For both β and TN no appreciable thickness dependence is observed, similar to what has previously been reported in ref. 30, where changes in the critical behavior mostly become visible in the monolayer limit.

For thicker CoPS3 samples (t = 40 − 60 nm) we find β = 0.289 ± 0.034 close to what is reported in literature for the bulk (βbulk = 0.3 ± 0.0118) and consistent with the 3D Ising model. For samples with t < 10 nm the measured β, on the other hand, is 0.195 ± 0.045, closer to β2DXY as shown in the top panel of Fig. 4. This constitutes a noticeable change in β while going from bulk to thinner samples. Similarly, we observe for CoPS3 a decrease in TN from the bulk value of 118 K down to ~100 K, similar to what was previously reported in ref. 31. We fit a power law to the dependence of TN on thickness,

$${T}_{{{{{\rm{N}}}}}}(t)/{T}_{{{{{\rm{N}}}}}}^{{{{{\rm{3D}}}}}}\propto 1-{(C/t)}^{{1/{\nu }_{{{\rm{eff}}}}}},$$
(6)

where C is a non-universal constant related to the interlayer coupling, and νeff is an effective critical exponent related to the correlation length32. Fitting the CoPS3 data points with \({T}_{\,{{{{\rm{N}}}}}}^{{{{{\rm{3D}}}}}}=118\) K31 yields C = 1.43 ± 0.457 nm and νeff = 0.84 ± 0.096. This value of νeff is intermediate between the expected values of νeff = 0.630 for the 3D Ising and νeff = 1 for the 2D Ising models, and indicative of a transition regime26.

In conclusion, we provide a comprehensive analysis of the anisotropic magnetostriction effect in MPS3 compounds and its implications to the dynamics of membrane made from them. DFT calculations provide a microscopic explanation for the anisotropic lattice deformation in CoPS3, FePS3 and NiPS3 which are consistent with our measurements. We further demonstrate the relation between magnetic ordering and anisotropy in the mechanical resonance frequency of suspended MPS3 resonators, providing a direct measure of the AF order parameter in absence of an external magnetic field. We observe a thickness dependence in the critical behavior of CoPS3 resonators18,31, which is absent in the case of FePS3. The presented technique is of particular interest for the study of 2D magnetism given the scarcity of methods available to investigate critical phenomena of van der Waals materials in the atomically thin limit.

Methods

Sample fabrication

Substrates consist of thermal SiO2 of 285 nm thickness, grown on highly doped (Si++) silicon. The rectangular cavities are defined via e-beam lithography using AR-P 6200 resist. After development, the exposed SiO2 areas are fully etched via reactive ion etching. The AR-P 6200 resist is stripped in PRS-3000 and the sample is cleaned in an O2 plasma before stamping. The exfoliation and transfer of multi-layer MPS3 flakes is done using a polydimethylsiloxaan (PDMS) transfer method. First, MPS3 crystals are exfoliated onto the PDMS through scotch tape. Selected flakes are then transferred on the star-shaped cavities in the SiO2/Si substrate33.

Laser interferometry

Samples are mounted on a heater stage which is cooled down to 4 K using a Montana Instruments Cryostation s50 cryostat with optical access. A blue diode laser (λ = 405 nm) is used to excite the membrane optothermally via AC power-modulation from a vector network analyzer (VNA)34. Displacements are detected by focusing a red He-Ne laser beam (λ = 632 nm) on the cavity formed by the membrane and Si substrate. The reflected light, which is modulated by the position-dependent membrane motion, is recorded by a photodiode and processed by a phase-sensitive VNA. Laser spot size is ~1 μm. In order to minimize optical heating effects the laser power is minimized, while still being able to detect the resonance. To asses the effect of optical heating laser power is varied, and the resulting resonance shift is compared to a resonance shift from a temperature variation. The frequency shift due to optical heating is found to be well bellow a shift corresponding with a 1° temperature change.

DFT calculations

First principles spin-polarized DFT calculations in the plane wave formalism are performed as implemented in the Quantum ESPRESSO package35. The exchange-correlation energy is calculated using the generalized gradient approximation using the Perdew–Burke–Ernzerhof functional36 and standard Ultra-soft (USPP) solid-state pseudopotentials. The electronic wave functions are expanded with well-converged kinetic energy cut-offs for the wave functions (charge density) of 75 (800), 85 (800), and 85 (800) Ry for Fe, Co and Ni, respectively. The crystal structures are fully optimized using the Broyden-Fletcher-Goldfarb-Shanno (BFGS) algorithm37 until the forces on each atom are smaller than 1 × 10−3 Ry/au and the energy difference between two consecutive relaxation steps is less than 1 × 10−4 Ry. In order to avoid unphysical interactions between images along the non-periodic direction, we add a vacuum of 18 Å in the z direction for the monolayer calculations. The Brillouin zone is sampled by a fine Γ-centered 5 × 5 × 1 k-point Monkhorst-Pack38. For the simulation of the monoclinic structure of FePS3, we simulate a unit cell with two layers to account for the AF interlayer coupling. Grimme-D3 dispersion corrections are added to account for van der Waals interactions between layers and the Brillouin zone is sampled by a fine Γ-centered 5 × 5 × 3 k-point Monkhorst-Pack. A tight-binding Hamiltonian derived from first-principles is constructed in the base of Maximally-localized Wannier functions, as implemented in the Wannier90 code39. For that, we select the d orbitals of the metal center (Fe, Co, Ni) and the s and p orbitals of P and S to construct the connected subspace. Magnetic interactions are determined using the Green’s function method in the TB2J software40. The orbital resolved analysis is performed after rotating the coordinate system of the crystal to align the metal-sulfur bonds direction of the octahedra with the cartesian axes.

Crystal growth

Crystal growth of MPS3 (M(II) = Ni, Fe, Co) is performed following a solid-state reaction inside a sealed evacuated quartz tube (pressure ~ 5 × 10−5 mbar). I2 was used as a transport agent to obtain large crystals. A three-zone furnace is used, where a tube with the material was placed in the leftmost zone. This side is then heated up to 700 °C in 3 h so that a temperature gradient of 700/650/675 °C is established. The other two zones are heated up in 24 h from room temperature to 650 °C and kept at that temperature for one day. The temperature is kept constant for 28 days and cooled down naturally. With this process crystals with a length up to several centimeters are obtained. Detailed description of the crystal growth and characterization can be found in earlier work14.