BTW preact + hooks + router (preact-iso) is 10 kb. It's a good starting point.
And SVG icons should use svg `<use>` tag and shouldn't be counted in code size.