Lots of contractors and carpenters are using slots to store long tools like levels.
But if you think your setup might change (more levels, adding other long tools), consider building a long drawer instead. It can hold more than one thing, can hold different types of tools, and is a little more configurable than having several slot compartments.