Still Under Early Developement!!!!
This package react-native-declarative-ui-kit
was created to do insanely rapid UI developement. Once you get hands on with the notations (which are pretty easy) you will be able to develope a good looking screen within 5-30 minutes window.
My expected Utopia of React Native UI Developement
- No Stylesheets
- No Inline Style Tags
- Self Explaining Layout Tags
npm install react-native-declarative-ui-kit
Or
yarn add react-native-declarative-ui-kit
Eg:
<H1>Hello World</H1>
<H2>Hello World</H2>
<H3>Hello World</H3>
<H4>Hello World</H4>
<H5>Hello World</H5>
<P bold>Hello World</b>
<P semi-bold>Hello World</b>
<P light>Hello World</b>
<P lighter>Hello World</b>
<P bold>Hello World</b>
<P primary>Hello World</P>
<P secondary> Hello World</P>
<P light-colored> Hello World</P>
<P lighter-colored> Hello World</P>
<P dark-colored> Hello World</P>
<P warn> Hello World</P>
<P success> Hello World</P>
<P black> Hello World</P>
<P white> Hello World</P>
<P align-left> Hello World</P>
<P align-center> Hello World</P>
<P align-right> Hello World</P>
Touchable
AnimatedBox
Scrollable
GradientBox
Directive | Description |
---|---|
white-bg | |
primary-bg | |
secondary-bg | |
dark-bg | |
absolute-bg | |
page-bg |
Properties
Name | Type | Description |
---|---|---|
label | string |
Determine label for the input component |
labelStyle | TextStyle |
Customizing label style |
icon | IconName |
Setting an icon on right corner (For IconName prop see icon element) |
text-area | boolean |
Transforms input into an text area |
width | number |
Sets input element width |
isLoading | boolean |
Displays a loading indicator |
basic | boolean |
Sets Basic color for the element |
primary | boolean |
Sets Primary color for the element |
success | boolean |
Sets Success color pallet for the element |
warning | boolean |
Sets Warning color pallet for the element |
danger | boolean |
Sets Danger color pallet for the element |
info | boolean |
Sets Info color pallet for the element |