Maybe you meant clip. However when you us a svg file into, for example, an html img tag you see only the elements within the viewport.
By the way if you put on top all your elements a rectagle that has the same size and coordinates of the viewport, select all the elements, use the command clipping (Object -> Clip -> Set) you will hide all the elements outside the viewport.
The down below svg has a 1:1 viewBox.
Is there a feature to crop the SVG to the viewBox (some path are outside)?
Β
Β
Β
Β
Β
Maybe you meant clip. However when you us a svg file into, for example, an html img tag you see only the elements within the viewport.
By the way if you put on top all your elements a rectagle that has the same size and coordinates of the viewport, select all the elements, use the command clipping (Object -> Clip -> Set) you will hide all the elements outside the viewport.