--- title: snap-socket --- The `snap-socket` snippet is used to mark the socket part of a snap button. It is provided by [plugin-buttons](/reference/plugins/buttons/). ```js snippets.demo = new Snippet('snap-socket', points.anchor) ```