Search code examples
javascripthtmlgoogle-apigoogle-classroom

How can I use the round logo for the Google Classroom Share Button?


I want to use the round logo of the Google Classroom Share Button as shown in the "Google Classroom Branding Guidelines" page.

I've used the example in the "Add a Classroom Share Button" page, but I can't figure out how to use the round logo instead of the square one.

Can anyone help?


Solution

  • You can't "configure" the share button itself to use a different logo; to accomplish this you'll need to "manually" display the icon and then direct the user to the REST share endpoint.