---
url: https://talkjs.com/docs/UI_Components/React_Native/Object_Types/ThemeOptions
---

# ThemeOptions

Configure themes and custom theme data.

Ask a question Copy for LLM [View as Markdown](/docs/UI_Components/React_Native/Object_Types/ThemeOptions.md)

## Properties

| Field | Type | Description |
| --- | --- | --- |
| **custom** *(optional)* | `{[key: string]: JsonSerializable }` | A map of values that will be available to your theme under the `theme.custom` namespace. The values can be anything that can be JSON-serialized. String and numeric values will also be made available as CSS custom properties in themes, available as `var(--theme-<key>)`. where `<key>` is the value's key in the object. |
| **name** *(optional)* | `string` | The name of the theme to use in this widget If no theme name is given, TalkJS will use the theme set in the user's role, falling back to the default theme if the user has no role. |

## Used by

- [`Chatbox`](/docs/UI_Components/React_Native/Components/Chatbox/#theme)
- [`ConversationList`](/docs/UI_Components/React_Native/Components/ConversationList/#theme)