# Component

## Concepts

* It is used to declare a new dependent object (Objects that can be injected by the mandarine built-in DI system)
* It accepts the use of DI.

## Usage

**Syntax:**

```typescript
@Component()
```

Example&#x20;

```typescript
import { Component } from "https://deno.land/x/mandarinets/mod.ts";

@Component()
export class MyComponent {
}
```
