> For the complete documentation index, see [llms.txt](https://iron-network.gitbook.io/gene/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iron-network.gitbook.io/gene/layout.md).

# Layouts

Gene comes with three handcrafted layouts. Read the documentation carefully to use the following layouts in your template.

### Default Layout <a href="#default-layout" id="default-layout"></a>

Gene by default has traditional admin layout but also provides you flexibility to choose your own.

![Default Layout](https://410725426-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVwh6P4QorCNsIq5KF7%2F-LadIoFCCwUwvyCqdbsM%2F-LadKK9D1vx8JrrJrSgD%2FScreen%20Shot%202019-03-23%20at%2012.24.42.png?alt=media\&token=257874c7-309f-44e7-8233-61366e8731ea)

### Mini Sidebar <a href="#mini-sidebar" id="mini-sidebar"></a>

To enable mini sidebar layout, go to `src->app->service->core` and open `core.service.ts` file and change the value of `collapseSidebar` to true.

{% code title="core.service.ts" %}

```typescript
export class CoreService {
	...
	collapseSidebar : boolean = true;
	...
}
```

{% endcode %}

![Mini Sidebar Layout](https://410725426-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVwh6P4QorCNsIq5KF7%2F-LadIoFCCwUwvyCqdbsM%2F-LadKXFFraEYovaMZ58P%2FScreen%20Shot%202019-03-23%20at%2012.26.10.png?alt=media\&token=24e0baee-0f01-4fd1-9e04-bfeda7e587bb)

### Horizontal Menu <a href="#horizontal-menu" id="horizontal-menu"></a>

To enable horizontal menu go to `src->app->service->core` and open `core.service.ts` file and change the value of `horizontalStatus` & `horizontalSizeStatue` to true.

{% code title="core.service.ts" %}

```typescript
export class CoreService {
	...
	horizontalStatus : boolean = true;
	horizontalSizeStatue : boolean =  true;
	...
}
```

{% endcode %}

![Horizontal Layout](https://410725426-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVwh6P4QorCNsIq5KF7%2F-LadIoFCCwUwvyCqdbsM%2F-LadKfFGelX2QR9Fb62j%2FScreen%20Shot%202019-03-23%20at%2012.26.53.png?alt=media\&token=64d62c05-d410-4c60-b1c5-f20e4539144b)

### Dark Mode <a href="#dark-mode" id="dark-mode"></a>

To enable the dark mode in the template, go to `src->app->main` and open the `main-material.html` file, now search for the `app-dark` class at div `<div id = "main-app"` & change its value to true.

```
'app-dark': true,
```

Now open the `src->index.html` file & add the class `"dark-theme-active"` in the `body` tag. Like given below:

```
<body class="dark-theme-active">
...
</body>
```

![Dark Mode](https://410725426-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVwh6P4QorCNsIq5KF7%2F-LadIoFCCwUwvyCqdbsM%2F-LadKpGK1wUw03kzO1y7%2FScreen%20Shot%202019-03-23%20at%2012.27.32.png?alt=media\&token=08163fbd-14aa-4fec-8d17-0b61068edd08)
