> For the complete documentation index, see [llms.txt](https://mandarineframework.gitbook.io/mandarine-ts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mandarineframework.gitbook.io/mandarine-ts/mandarine-core/components/service.md).

# Service

## Concepts

* It is a stereotype of *Component.* They provide the same functionality as a regular component, but it exists for design purposes in order to keep [SOLID](https://en.wikipedia.org/wiki/SOLID) principles.

## Usage

**Syntax:**

```typescript
@Service()
```

Example

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

@Service()
export class MyService {
}
```
