Intuitive admin interface
So easy to use. So easy to customize. You’re going to love the blog you build with ButterCMS.
Handy integration with React Native
Our React Native blog engine has a simple content API and drop-in SDKs 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.
You've got better things to do than build another blog
Drop our React Native blog engine into your app, and get back to more interesting problems.
ButterCMS is an API-based blog engine that integrates seamlessly with new and existing React Native apps. It's great for SEO, and provides a clean and modern user interface that your marketing team will love. You can deploy ButterCMS in minutes using our React Native API client.
That leaves plenty of time for you and your marketing team to do what you do best: create killer apps with killer content.
See how Butter’s API enables you to launch a flexible blog with amazing SEO using your existing tech stack.
Best blog engine on the market
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 React Native blog engine 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 blog templates, sidebars, related content features, and more, all using simple drag-and-drop functionality.
The simplest React Native blog engine you'll find
Our simple setup saves you time and money. Take us for a spin to see for yourself!
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 Butter to your React Native app.
Of course, you can also use our Pages and Collections to do advanced content modeling. For a full integration guide, check out our Official Guide for the ButterCMS React Native API client.
See how easily you can integrate the ButterCMS Pages API with your React Native app.
Seamless React Native components
Empower your marketing team to create a customized blog engine that aligns 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.
The best React Native blog engine for SEO
ButterCMS gives you absolute control over on-page SEO ranking factors. Key SEO variables are built into our default post template, giving your marketing team direct access to configure all of these settings, and more.
ButterCMS saves you development time
Most customers get our React Native blog engine up and running in less than an hour. Try it yourself!
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
Integrating the Butter blog engine into your React Native app is dead simple. Here's a mini tutorial to get a feel for setting up your blog home and blog post pages.
For a full integration guide, check out our Official React Native Guide.
To display posts we create a simple /blog
route in our app and fetch blog posts from the Butter API. See our API reference for additional options such as filtering by category or author. The response also includes some metadata we'll use for pagination.
To retrieve the blog posts using ButterCMS client, you can use the function butter.post.list({})
bloghome.js
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 Blog extends React.Component {
state = {
data: ''
}
async componentDidMount() {
const { match } = this.props;
let page = (match && match.params.page) || 1;
const resp = await butter.post.list({ page: page, page_size: 10 })
this.setState(resp.data)
console.log(resp.data);
}
render() {
const { data } = this.state
const goToHome = () => {
Actions.home()
}
const goToPost = (post)=>{
Actions.post({slug:post});
}
const goToCategories=()=>{
Actions.category();
}
if (data) {
return (
<ScrollView style={{ padding: 20,backgroundColor:'#eeeeee' }}>
{data.map(post =>
<TouchableOpacity style={styles.post} key={post.slug} onPress={()=>goToPost(post.url)}>
<Text style={styles.heading}>{post.title}</Text>
<Image style={styles.logo} source={{ uri: post.featured_image }} />
<HTMLView value={post.summary}></HTMLView>
</TouchableOpacity>
)}
<TouchableOpacity style={styles.button}>
<Button title="Back to Home" onPress={goToHome}></Button>
<Button title="All categories" onPress={goToCategories}></Button>
</TouchableOpacity>
</ScrollView>
)
} else {
return (
<ScrollView>
<Text>Loading..</Text>
</ScrollView>
)
}
}
}
const styles = StyleSheet.create({
post:{
borderWidth:'1px',
borderStyle:'solid',
borderColor:'black',
padding:20,
margin: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%'
}
})
To display a complete post, you can use the butter.post.retrieve(<url>)
method. See a full list of available post properties in our API reference.
blogpost.js
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 Post extends React.Component {
state = {
data: ''
}
async componentDidMount() {
const { slug } = this.props;
const resp = await butter.post.retrieve(slug)
console.log('New State: ',resp.data);
this.setState(resp.data)
}
render() {
const post = this.state.data
const goToHome = () => {
Actions.home()
}
if (post) {
return (
<ScrollView style={{ padding: 20 }}>
<Text style={styles.heading}>{post.title}</Text>
<HTMLView value={post.body} ></HTMLView>
<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! The blog posts created in your Butter dashboard will immediately show up in your app.
Get Started for Free