I'm sitting in front of office shelving made from 18mm Alder veneered blockboard. No noticeable sagging over a span of 1m and fully loaded with books and files etc.
The front edge is trimmed with machined hardwood run through the workshop spindle moulder but I think you can buy similar stuff from the sheds.
Blockboard will always be more rigid than an equivalent thickness of ply.