Is not a known element (in angular material)
make sure your component is declared in app.module.ts. especially if for some reason it is a component in the same file you are using already …
many posts point to the material module being imported. but both have to be true.