In planning the closet I started by assessing my current clothing inventory, doing some much needed weeding and measuring the amount of hang space taken up by my everyday clothes. I cut that by a few inches and came up with 36" which would allow shelving at either side to hold pants and t-shirts. I had it in mind to build the closet at the back of the loft. Most tiny house people don't put their closet in the loft probably because it is too difficult to get dressed up there, but I was strapped for space downstairs.
The most challenging part turned out the be beveling the edge of the shelf that would sit on top of these closet walls as it would have to fit under the eaves of the roofline. I consulted the internet and learned how to cut an acute angle on the table saw by standing the piece on its end. I had to make many tries to get close.
I made the shelves from 1/8" plywood I had on hand that had been used as wall panelling. This was thin but at 12" wide they would not flex and would serve to support the weight of 3 pairs of pants. I cut the ply into shelves and spacers to support the shelves; standing upright the 1/8" would support the shelf while the one above it would keep it in place. Such construction might seem as sturdy as a house of cards and bore some resemblance to building with cards, but once glued together to an upright piece it was quite rigid. I had never tried this glue up construction before, but since it was my closet this was my chance.
Before I glued it up I realized that I didn't have enough space for the narrow t-shirt shelves. I hadn't accounted for the 1 1/2" thickness of the doors. I had to cut an inch off the shelves which cramped my folded up pants, but I could live with it (or just get narrow pants as I did for the photo). I had an old closet pole I cut to fit and in my dad's stash I found a package of new closet pole brackets I liked better than my paint covered used ones. The entire closet was completed in just over six hours and all for free.
The closet would not be my only storage for clothes. I have a chest of drawers from my childhood that I had hand painted during a phase of painting faux finishes. I couldn't face weeding out my collection of designer board shorts stored in it, plus the top drawer held all my jewelry and hair things and the surface was my dressing table. I could make room for it.