Trouble using Material Design Components Inside Hype

Your syntax should be

<a
class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect"
href="#"
onclick="HYPE.documents['NAME_OF_DOC'].showSceneNamed('SCENE_NAME',HYPE.documents['NAME_OF_DOC'].kSceneTransitionPushRightToLeft)">Get Started</a>

Note that in preview the name of the Doc will be 'index'. It will become the name of your project once exported.

Example (used in preview with your example doc)

onclick="HYPE.documents['index'].showSceneNamed('Scene 1',HYPE.documents['index'].kSceneTransitionPushRightToLeft)""

A682D6F7-1E99-4F08-80DF-36A7EC0DF7AE

The following is a link to a forum post on the topic of linking to scenes inside and outside Hype docs:

1 Like