---
title: React Turnstile - Custom props
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.page/marsidev/react-turnstile/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom props

You can pass any of the props listed [here](/props) into the `Turnstile` component. Here is an example:

```tsx
import { Turnstile } from "@marsidev/react-turnstile";

export default function Widget() {
  return (
    <Turnstile
      as="aside"
      siteKey="{{ siteKey }}"
      className="fixed bottom-4 right-4"
      options={{
        action: "submit-form",
        theme: "light",
        size: "compact",
        language: "es",
      }}
      scriptOptions={{
        appendTo: "body",
      }}
    />
  );
}
```
