Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
This is a message and incentive to show that there is no content on the page, and to motivate the user to take action.
The Motivational Placeholder is designed to be a light-hearted, humorous way to encourage users who have not yet enrolled on courses and programs to do so. The central icon contains an unhappy face which changes to a smiling face as the user moves their cursor towards the call-to-action button.
A motivational placeholder consists of:
an animated icon
explanation copy
a call to action
The motivational placeholder is intended to engage users in learning. It should not be used in a situation where humour may be inappropriate or to try to encourage a user to buy something. In those cases you may wish to consider using the
no content placeholder instead.Name | Description | Default |
---|---|---|
heading* | string | - |
message | string | - |
button | { url: string, label: string, onClick: func } | - |