Package Exports
- app-studio
- app-studio/dist/app-studio.esm.js
- app-studio/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (app-studio) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
App Studio
✨ Features
- 🌈 Add styled props to your application.
- 📦 A set of Simple and powerful React components.
- 🌍 Internationalization support for dozens of languages.
- 🎨 Powerful theme customization in every detail.
📦 Install
npm install app-studio styled-components --save🔨 Usage
The <View> component supports all of the default CSSProperties as props. The styles transformed and handled by Styled Components.
- Add Responsive and Theme Provider to your application root :
import React from 'react';
import { ResponsiveProvider, ThemeProvider } from 'app-studio';
const Root = () => {
return (<ResponsiveProvider>
<ThemeProvider>
<App />
</ThemeProvider>
</ResponsiveProvider>);
};
import React from 'react';
import { View } from 'app-studio';
function Example() {
return (
<View
backgroundColor="grey"
padding={20}
on={{ hover: { backgroundColor: 'blue.100' } }}
>
Hello
</View>
);
}Responsive
import React from 'react';
import { ResponsiveProvider } from 'app-studio';
const Example = () => {
const { screen, on } = useResponsive();
const responsive = {
xs: {
backgroundColor: 'red',
},
sm: {
backgroundColor: 'green',
},
md: {
backgroundColor: 'blue',
},
lg: {
backgroundColor: 'yellow',
},
xl: {
backgroundColor: 'red',
},
};
return (
<View size={100}
{...responsive[screen]}
>
{screen} - mobile : {on('mobile') ? 'yes' : 'no'}
</View>
);
}
const App = () => (<ResponsiveProvider
breakpoints={{
xs: 0,
sm: 340,
md: 560,
lg: 1080,
xl: 1300,
}}
devices={{
mobile: ['xs', 'sm'],
tablet: ['md', 'lg'],
desktop: ['lg', 'xl']
}}
>
<Exemple />
<ResponsiveProvider>);
Theming
import React from 'react';
import { ThemeProvider, View } from 'app-studio';
const theme = {
colors: {
orange: '#fff7ed',
cyan:'#ecfeff',
},
palette:{
blueGray: {
50: '#f8fafc',
100: '#f1f5f9',
200: '#e2e8f0',
300: '#cbd5e1',
400: '#94a3b8',
500: '#64748b',
600: '#475569',
700: '#334155',
800: '#1e293b',
900: '#0f172a',
},
}
};
function Example() {
return (
<ThemeProvider theme={theme}>
<View backgroundColor="cyan">
<Text color="blue.200">Hello</Text>
</View>
</ThemeProvider>
);
}TypeScript
app-studio is written in TypeScript with complete definitions.
🔗 Links
- Change Log
- Versioning Release Note
- FAQ
- CodeSandbox Template for bug reports
- Customize Theme
- How to Apply for Being A Collaborator
🤝 Contributing 
Read our contributing guide and let's build a better rize-network together.
We welcome all contributions. Please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as GitHub issues. If you'd like to improve code, check out the Development Instructions and have a good time! :)
If you are a collaborator, please follow our Pull Request principle to create a Pull Request with collaborator template.
❤️ Sponsors and Backers

Roadmap
- Integrate React Native
- Build a documentation website
- manage all pseudo class : https://html.spec.whatwg.org/multipage/semantics-other.html#selector-hover
Author
SteedMonteiro, steed@rize.network
License
App Studio is available under the MIT license. See the LICENSE file for more info.