Verb: When it describes an action, like breaking into pieces, it's a verb.
* Example: The glass vase shattered into a million pieces.
Noun: When it refers to the act of breaking or the sound of something breaking, it's a noun.
* Example: The shatter of the window startled everyone.
Let me know if you'd like some more examples!