Styleguide user interface
This section describes Styleguide's user interface and the associated development tools.
Preview
You can view the output of your Styleguide project under the Example tab. This tab provides visual cues that indicate your styling and layout are as expected.

If an element is missing from the preview, the corresponding key may be missing from the data file. For additional information, see BEM.
Raw JSON data
You can view your raw data file under the JSON (Original) tab.

For information about creating a data file, see Populating the Styleguide preview.
Processed JSON data
You can view the processed data file under the JSON (Processed) tab. This tab shows the mock values that Styleguide evaluated for placeholders.

BEM
You can determine if Styleguide successfully evaluated your blocks and elements under the BEM tab. Under the Used column, ✗ indicates that Styleguide did not need the provided data when populating the template.

In the previous illustration, the ✗ indicates the data file defined a field bodyImage
, but the template Article.hbs
did not use that field.
Template listing
Styleguide organizes templates based on your project's directory structure and data file names. Styleguide displays templates similar to the following, reflecting the illustration Directory structure for theming tutorial project.