What is a particle (harf)?
A حَرْف (harf) has a meaning, but the meaning does not show until it stands beside another word.
Take مِنْ (min). On its own it settles nothing. Put it in a sentence and it does one job or another — it starts a distance in مِنَ الْمَسْجِدِ الْحَرَامِ (mina al-masjidi al-harāmi), “from the Sacred Mosque”, and it takes a part out of a whole in مِنَ النَّاسِ (mina al-nāsi), “some of the people”.
A harf is named after the job it does — jarr, 'atf, nasab, jazm, and more besides.
A harf accepts none of the signs of the ism and none of the signs of the fi'l. That refusal is what identifies it.
Like most Arabic grammar terms, حَرْف (harf) was taken from everyday speech and then given one precise technical sense.
In everyday Arabic it means an edge, and it is also the word for a letter of the alphabet.
حُرُوف الْهِجَاء (hurūf al-hijā') — “the letters of the alphabet”
In Arabic grammar it means a whole word whose meaning appears only in company. مِنْ is a harf of two letters.