UI for snippet