---
name: Props
route: /props
---

import { Props } from 'docz';

import CallbacksInterface from './callbacks-interface';
import ComponentProps from './component-props';
import OptionsInterface from './options-interface';
import WordInterface from './word-interface';

# Props

`react-wordcloud` provides a simple set of props to build and configure wordclouds.

<Props of={ComponentProps} />

Additional props will be passed through to the underlying HTML element.

## `Word`

The `word` object takes the following shape

<Props of={WordInterface} />

## `options`

You can customize the wordcloud by configuring the `options` prop. All fields are optional.

<Props of={OptionsInterface} />

## `callbacks`

The `callbacks` prop provides advanced ways to control the wordcloud behaviors. All fields are optional.

<Props of={CallbacksInterface} />
