<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@thematic/react](./react.md) &gt; [useThematic](./react.usethematic.md)

## useThematic() function

Hook to retrieve the thematic theme directly.

<b>Signature:</b>

```typescript
export declare function useThematic(dark?: boolean): Theme;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  dark | boolean | <i>(Optional)</i> |

<b>Returns:</b>

Theme

