---
updatedAt: 2026-06-12T20:36:12.000Z
agentTools:
  projectIndex: https://developers.wingify.com/v2/llms.txt
---

# Custom Attributes

Custom Attributes can be created by creating a map that contains key and value pairs as follows:

<br />

```javascript
import { customAttribute } from 'vwo-insights-react-native-sdk';
  
<Button
            style={styles.button}
            title="Attribute"
            color="#AFB52C"
            click={() => {
              const customData = {
                reactnativeattribute: "test",
                textProperty: "testing",
                numberProperty: 12,
                booleanProperty: false
              }
              customAttribute(customData)
            }}
          />


```