A Storybook for Angular Material.
Based on amcdnl/material-storybook but reworked to the ground up (as Storybook for Angular now requires an existing Angular project to be present) with Storybook v6 and Angular v10.
View the Storybook here.
| Name | Has Stories? | Has Docs Examples Stories? |
|---|---|---|
| Autocomplete | ✅ | ~ (Form-related examples not included) |
| Badge | ❎ | ❎ |
| Bottom Sheet | ❎ | ❎ |
| Button | ✅ | ✅ |
| Button Toggle | ✅ | ✅ |
| Card | ❎ | ❎ |
| Checkbox | ❎ | ❎ |
| Chips | ❎ | ❎ |
| Datepicker | ❎ | ❎ |
| Dialog | ❎ | ❎ |
| Divider | ❎ | ❎ |
| Expansion Panel | ❎ | ❎ |
| Form Field | ❎ | ❎ |
| Grid List | ❎ | ❎ |
| Icon | ❎ | ❎ |
| Input | ❎ | ❎ |
| List | ❎ | ❎ |
| Menu | ✅ | ✅ |
| Paginator | ❎ | ❎ |
| Progress Bar | ❎ | ❎ |
| Progress Spinner | ❎ | ❎ |
| Radio Button | ❎ | ❎ |
| Ripples | ❎ | ❎ |
| Select | ❎ | ❎ |
| Sidenav | ❎ | ❎ |
| Slide Toggle | ❎ | ❎ |
| Slider | ❎ | ❎ |
| Snack Bar | ❎ | ❎ |
| Sort Header | ❎ | ❎ |
| Stepper | ❎ | ❎ |
| Table | ❎ | ❎ |
| Tabs | ❎ | ❎ |
| Toolbar | ❎ | ❎ |
| Tooltip | ❎ | ❎ |
Clone the project locally using the typical git clone command.
- Run
npm installin the project's root to install the project's dependencies. - Run
npm run start-storybookto generate the documentation (which currently doesn't work) and to locally serve the Storybook. - Fire up your browser to
localhost:6006if the Storybook CLI did not auto-open the locally-served Storybook.
- Run
npm run build-storybookto build the Storybook. - The contents of the built Storybook can then be found in the generated
storybook-staticdirectory.
This project follows Angular's commit guidelines.
This project is licensed with the MIT license.