[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/admin](../../README) / [index](../README) / adminHead

# Function: adminHead()

> **adminHead**(`title?`, `theme?`): `string`

Defined in: [admin/src/theme.ts:68](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/theme.ts#L68)

Full `<head>` markup for the admin shell. Inject as `Layout.head`.

With no `theme` (or `theme.cdn !== false`) it loads the Tailwind Play CDN. Set
`theme.stylesheet` to link a prebuilt CSS file and drop the CDN — only this
file's wiring changes; pages stay identical.

## Parameters

### title?

`string` = `"Admin"`

### theme?

[`AdminThemeConfig`](../interfaces/AdminThemeConfig) = `{}`

## Returns

`string`
