A React Native CMS like no other

Meet the headless React Native CMS that integrates with your app using a straightforward API. Smooth, simple, and tasty content integration — that’s Butter.

Posted on November 28, 2023

Intuitive admin interface

So easy to use. So easy to customize. You’re going to love the content you build better with ButterCMS.

Handy integration with React Native

Our React Native CMS has a simple content API and drop-in React Native SDK that makes the magic happen in minutes, not hours.

A truly zero-maintenance solution

With ButterCMS, you’ll never worry about security upgrades, hosting, or performance again.

Powerful CMS for React Native. Zero headache.

Drop our API-based CMS into your React Native app in minutes. 

ButterCMS provides a component-based CMS and content API for React Native and React Native apps. Use ButterCMS to enable dynamic content in your apps for page content, blogs, and anything else. Most customers get our React Native CMS set up in one hour or less. 

That leaves plenty of time for you and your marketing team to do what you do best: create killer apps with killer content. 

Play video

See how Butter’s API enables you to compose flexible page layouts and easily reorder components, without a developer.

G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award

“Best CMS on the market”

headshot of Hampton Catl

After shopping the market, it was clear that ButterCMS was the perfect choice. It allows our developers to build powerful components and makes it easy for our marketing team to drive a better customer experience. Hampton Catlin Creator of Sass and Haml

Built to make content marketing easy

ButterCMS is the best headless cms for React Native for a simple reason: React Native developers can build solutions that marketing people love. Our API allows your content gurus to quickly spin up high-converting, dynamic landing pages, SEO pages, product marketing pages, and more, all using simple drag-and-drop functionality.

  • SEO landing pages
  • Customer case studies
  • Company news & updates
  • Events + webinar pages
  • Education center
  • Location pages
  • And more...

The simplest React Native CMS you'll find

Our simple setup saves you time and money. Take us for a spin to see for yourself!

headshot of LUKE GARDNER

It's the epitome of plug-and-play simplicity for content creators. It does exactly what I need it to. LUKE GARDNER, CONTENT SPECIALIST, PRINTAVO

Fast integration with any React Native app

Our mission was to make it easy to integrate Butter with your existing React Native app in minutes. It’s so simple! To demonstrate, here’s a mini tutorial to give you a feel for the process of adding marketing pages to your React Native app.

Of course, you can also use our Collections to do advanced content modeling. For a full integration guide, check out our Official Guide for the ButterCMS React Native API client.

Play video

See how easily you can integrate the ButterCMS Pages API with your React Native app.

Seamless React Native components

Empower your marketing team with dynamic landing pages that align perfectly with your React Native components. 

Components are the essential building blocks of any React Native app, and ButterCMS handles them with ease. 

Our drag and drop interface makes it simple to structure your content to match existing React Native components and to create new reusable components whenever you need them.

One React Native CMS with everything you need

There’s a reason so many developers are choosing a headless React Native CMS. It’s easy to set up, offers flexible, customizable content modeling, and gives you access to our full React Native API.

  • Custom page types
  • Custom content modeling
  • CDN for assets
  • Webhooks
  • Testing environment
  • Customer case studies
  • Location pages

ButterCMS saves you development time

Most customers get our React Native CMS up and running in less than an hour. Try it yourself!

headshot of DILLON BURNS

Simple as can be, with powerful features and great customer support. DILLON BURNS, FRONT END DEVELOPER, KEYME

How to integrate ButterCMS into your React Native application

Just follow the simple steps below to complete the integration and begin creating pages with Butter. Be sure to check out our full guide to creating pages using the ButterCMS React Native API.

First you would set up a new Customer Case Study page type in Butter and create a page. With your page defined, the ButterCMS API will return it in JSON format like this:

{
   "data": {
      "slug": "acme-co",
      "fields": {
         "facebook_open_graph_title": "Acme Co loves ButterCMS",
         "seo_title": "Acme Co Customer Case Study",
         "headline": "Acme Co saved 200% on Anvil costs with ButterCMS",
         "testimonial": "<p>We've been able to make anvils faster than ever before! - <em>Chief Anvil Maker</em></p>\r\n<p><img src=\"https://cdn.buttercms.com/NiA3IIP3Ssurz5eNJ15a\" alt=\"\" caption=\"false\" width=\"249\" height=\"249\" /></p>",
         "customer_logo": "https://cdn.buttercms.com/c8oSTGcwQDC5I58km5WV",
      }
   }
}

To integrate this into your app, simply make a call to ButterCMS APIs using the ButterCMS client. Place this call in the componentDidMount hook in home.js:

import React from 'react'
import { Text,View,StyleSheet,Image,Button } from 'react-native';
import { Actions } from 'react-native-router-flux';
import butter from './butter-client'
import { TouchableOpacity } from 'react-native-gesture-handler';
export default class Home extends React.Component {
   state = {
      data: ''
   }
   async componentDidMount() {
      const resp = await butter.page.retrieve('*', 'home')
      console.log(resp.data);
      this.setState(resp.data)
   }
   render() {
      const { fields } = this.state.data
      const goToAbout = () => {
         Actions.about()
      }
      const goToBlog = () => {
         Actions.blog()
      }
      if (fields) {
         return (
         <View>
            <Text style={styles.heading}>{fields.headline}</Text>
            <Image style={styles.heroimage} source={{uri: fields.hero_image}}></Image>
            <View style={styles.horizontal}>
            <TouchableOpacity style={styles.button}>
            <Button title={fields.call_to_action} onPress={goToAbout}></Button>
            </TouchableOpacity>
            <TouchableOpacity style={styles.button}>
            <Button title="Blog" onPress={goToBlog}></Button>
            </TouchableOpacity>
            </View>
         </View>

         )
      } else {
         return (
            <View>
               <Text>Loading..</Text>
            </View>
         )
      }
   }
}
const styles=StyleSheet.create({
   horizontal:{
      flex:1,
      flexDirection:'row',
      alignItems:"center",
      justifyContent:"center"
   },
   heading: {
      fontSize:'2em',
      fontFamily:'Georgia',
      color: '#333333',
      paddingTop:'10px'
   },
   heroimage:{
      width:'100%',
      height:'150px',
      padding: '20px'
   },
   button:{
      margin:20
   }
})

Get all page content of specific type. For instance, customers for the case study. Here's what customers.js might look like:

import React from 'react'
import { Text, ScrollView,StyleSheet,Image,Button } from 'react-native'
import { Actions } from 'react-native-router-flux'
import butter from './butter-client'
import { TouchableOpacity } from 'react-native-gesture-handler'
import HTMLView from 'react-native-htmlview';
export default class CaseStudy extends React.Component {
   state = {
      data: ''
   }
   async componentDidMount() {
      const resp = await butter.page.list('customer_case_study')
      this.setState(resp.data)
      console.log(resp.data);
   }
   render() {
      const { data } = this.state
      const goToHome = () => {
         Actions.home()
      }
      if (data) {
         return (
            <ScrollView style={{padding:20}}>
               {data.map(page =>
                  <ScrollView style={styles.post} key={page.slug}>
                     <Text style={styles.heading}>{page.fields.seo_title}</Text>
                     <Image style={styles.logo} source={{ uri: page.fields.customer_logo }} />
                     <HTMLView value={page.fields.testimonial}></HTMLView>
                  </ScrollView>
               )}
               <TouchableOpacity style={styles.button}>
                  <Button title="Back to Home" onPress={goToHome}></Button>
               </TouchableOpacity>

            </ScrollView>

         )
      } else {
         return (
            <ScrollView>
               <Text>Loading..</Text>
            </ScrollView>
         )
      }

   }
}
const styles = StyleSheet.create({
   post:{
      borderWidth:'1px',
      borderStyle:'solid',
      borderColor:'black',
      padding:20
   },
   vertical: {
      flex: 1,
      flexDirection: 'column',
      alignItems: "center",
      justifyContent: "center"
   },
   heading: {
      fontSize: '2em',
      fontFamily: 'Georgia',
      color: '#333333',
      paddingTop: '10px'
   },
   logo: {
      width: '90vw',
      height: '150px',
      alignItems:"center",
      flex:1,
      flexDirection:"column",
      justifyContent:"center"
   },
   content: {
      height:'100px',
      width:'100%'
   }
})

That's it! If you browse to your homepage you'll see your homepage populated with the content you created in Butter.

Get Started for Free

Try Butter free for 14 days

See for yourself what makes Butter the best React Native CMS out there. Click the button below to sign up for your free 14-day trial.