# Material shell gallery

Source: https://material.spynejs.com/
Part of: Material shell gallery, Google's Material Design 3 for SpyneJS. Index: https://material.spynejs.com/llms.txt

The gallery of the Material template for the SpyneJS Application Shell: Google's Material Design 3, built on SpyneJS's View, Behavior, Logic pattern. Every component and feature of the template has a page here, and every page says what an app model writes to ask for the thing. An app on the template is started with spyne-cli.

## As the page shows it

The page’s own words, in its own order, read from the page as it is drawn in the light colour scheme. They were written for someone looking at the page: “above”, “below” and “marked” mean the drawn page. A thing the page draws is named here in its place (`Button:`, `Field:`, `Switch:`), and a box that reports what the reader does is as it starts, empty. What depends on the reader’s own window is left out.

Material Design for SpyneJS

### Build Material Design applications

Google’s Material Design 3 for SpyneJS, on its View, Behavior, Logic pattern: applications that developers and agents can build together.

- [Browse the components](https://material.spynejs.com/components.md)

#### Start building

spyne-cli now creates Material Design applications. One command starts one.

```bash
npx spyne-cli create-app my-app
```

It asks three things:

1. Which template. Choose Application Shell.
2. “Use Material Design? (based on Google’s Material Design 3)” Answer Yes.
3. A description of your site. Describe it, and the application is generated for you in Material Design, with its pages, its navigation and placeholder photographs. Leave it empty for the template as it stands.

To answer the first two without being asked:

```bash
npx spyne-cli create-app my-app --template shell --material
```

This needs spyne-cli 0.8.0 or later. The components and transitions shown in this gallery come with the application you get.

- [The template on GitHub](https://github.com/spynejs/application-shell-material)
- [spyne-cli on npm](https://www.npmjs.com/package/spyne-cli)
- [SpyneJS](https://spynejs.com/)

#### What is in the gallery

Every component and feature of the Material template for the SpyneJS Application Shell, on a page of its own.

Each page shows the thing itself, the choices it has, and what an app model says to ask for it. The gallery is an app on the template, written the way a generated app is: its pages are page items in app.model.json.

- [Colour roles](https://material.spynejs.com/foundations/color.md)
- [Button](https://material.spynejs.com/components/buttons.md)
- [Features](https://material.spynejs.com/features.md)
- [Transitions](https://material.spynejs.com/transitions.md)
