# New Component

**Code** - `npx stencil generate`

```bash
...\tryout > npx stencil generate
```

<div align="left"><img src="https://2768661053-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MMabv2sF5BvVBSjGZx7%2F-MMfOnof8lgKXKgMAiB-%2F-MMiD8Fm01mH7EuMvj0R%2Fimage.png?alt=media&#x26;token=3217720a-1a8d-4a8a-800c-cb7f874d73e3" alt="New Component - name &#x26; generated files"></div>

And within the Project folder - src **>** components

* The unit test & integration tests have been added in a test folder.&#x20;
* **.tsx** file for Typescript file ( _logic_ )
* **.css** file for component level styles.&#x20;

<div align="left"><img src="https://2768661053-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MMabv2sF5BvVBSjGZx7%2F-MMfOnof8lgKXKgMAiB-%2F-MMiE5gRkPeTJ0McT2mC%2Fimage.png?alt=media&#x26;token=5ed3803a-8fa9-478b-ad40-ca9f38936740" alt=""></div>
