
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
react-native-base-skeleton
Advanced tools
#react-native-base-skeleton
make skeleton in your react-native.
This component is based on native-base
##Install
npm install react-native-base-skeleton
##Why use this native-base has same component. But components are restrictions(ex: header has always 3 components, all components are NBComponent). If you want to use native-base's structure, this module is good.
##Container
<Header>, <Content>, <Footer>, and <Overlay>##Header
##Footer
##Content
##Overlay
##Example
import React, {
Component
} from 'react'
import {
Text,
} from 'react-native'
import {
Container,
Header,
Content,
Footer,
Overlay
} from 'react-native-base-skeleton'
class example extends Component {
render() {
return (
<Container>
<Header>
<Text>header</Text>
</Header>
<Content></Content>
<Footer>
<Text>footer</Text>
</Footer>
<Overlay></Overlay>
</Container>
)
}
}
If you want to use custom component, just add attribute. header, content, footer, overlay.
class example extends Component {
render() {
return (
<Container>
<CustomHeader header={true}>
<Text>header</Text>
</CustomHeader>
<CustomContent contnet={true}></CustomContent>
<CustomFooter footer={true}>
<Text>footer</Text>
</CustomFooter>
<CustomOverlay overlay={true}></CustomOverlay>
</Container>
)
}
##styles ###default Header Style
{
backgroundColor: '#0AA',
justifyContent: (!Array.isArray(this.props.children)) ? 'center' : 'space-between',
flexDirection: 'row',
alignItems: 'center',
paddingHorizontal: 15,
paddingTop: (Platform.OS === 'ios' ) ? 15 : 0,
shadowColor: '#000',
shadowOffset: {width: 0, height: 2},
shadowOpacity: 0.1,
shadowRadius: 1.5,
height: (Platform.OS === 'ios' ) ? 70 : 55,
elevation: 2
}
###default Footer Style
{
shadowColor: '#000',
shadowOffset: {width: 0, height: 2},
shadowOpacity: 0.1,
shadowRadius: 1.5,
height: 55,
flexDirection: 'row'
}
###default content Style
let defaulContentContainerStyle= {
padding: 10,
}
let defaultStyle = {
flex : 1,
backgroundColor: '#fff'
}
###default Overlay Style
{
flex: 0
}
FAQs
make skeleton in react native
The npm package react-native-base-skeleton receives a total of 1 weekly downloads. As such, react-native-base-skeleton popularity was classified as not popular.
We found that react-native-base-skeleton demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.