A biography, or simply bio, is a detailed description of a person's life. It involves more than just the basic facts like education, work, relationships, and death; it portrays a person's experience of these life events.
During the time of the Prophet (S), literacy was still new in his society, and his people did not have the custom of writing long books. They also did not have as much technology for writing as Muslims did later; for instance, much of the Quran was originally written on non-paper things like pottery shards. So it was not until later that the major Islamic books were written.
Also, there were a lot of things happening (including the need to handle military threats, the expansion of Islam, civil war, sorting out the practicalities of governing, and so forth), and people are more likely to write books when there is more stability.
It is also quite possible that it didn't occur to some of the people to write a biography. After all, they all knew who the Prophet (S) was, and everything about their society was common knowledge to themselves. Why should they write a book about a subject that everyone knows about?
At the same time, the later companions or those from other regions most likely did not know a lot about the early life of the Prophet (S) because they came into the community later and only saw him in his final years.
Of course many details are passed on in hadith.
Thousands of books were written on the life of Ameerul Momineen Ali ( AS). You can fix d many of them on www.aqaed.com or al-Islam.org or Shia search.org and many other sites.
as salam alaikum
apart from the general books of ahadith, some contemporary scholars have authored specific compilations like "Nahj al-Fasahah" by Abul-Qasim Payandeh and "Sunan al-Nabi" by Allamah Tabataba'i.
Amongst early collections, the "Musnad al-Imam al-Kazim" and the "Sahifah al-Imam al-Rida", reports most of their ahadith on the authority of the Messenger of Allah, peace be upon him and his family.
With prayers for your success.