{"id":18783572,"url":"https://github.com/sticknet/react-native-ui-lib","last_synced_at":"2025-12-20T16:30:29.868Z","repository":{"id":139605254,"uuid":"501292982","full_name":"sticknet/react-native-ui-lib","owner":"sticknet","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-08T14:47:09.000Z","size":717,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-29T11:44:55.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sticknet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-08T14:46:17.000Z","updated_at":"2022-06-08T14:47:14.000Z","dependencies_parsed_at":"2024-07-09T17:16:26.402Z","dependency_job_id":null,"html_url":"https://github.com/sticknet/react-native-ui-lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sticknet%2Freact-native-ui-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sticknet%2Freact-native-ui-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sticknet%2Freact-native-ui-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sticknet%2Freact-native-ui-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sticknet","download_url":"https://codeload.github.com/sticknet/react-native-ui-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239699579,"owners_count":19682574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T20:39:47.111Z","updated_at":"2025-12-20T16:30:24.284Z","avatar_url":"https://github.com/sticknet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n     \u003cimg src=\"https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png\" height=\"250px\" style=\"display:block\"/\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eUI Toolset \u0026 Components Library for React Native\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n     \u003cimg src=\"https://user-images.githubusercontent.com/1780255/105469340-bec47180-5ca0-11eb-8986-3eb986f884d9.jpg\"/\u003e\n\u003c/p\u003e\n\n\n---\n[![Build Status](https://travis-ci.org/wix/react-native-ui-lib.svg?branch=master)](https://travis-ci.org/wix/react-native-ui-lib)\n[![npm](https://img.shields.io/npm/v/react-native-ui-lib.svg)](https://www.npmjs.com/package/react-native-ui-lib)\n[![NPM Downloads](https://img.shields.io/npm/dm/react-native-ui-lib.svg?style=flat)](https://www.npmjs.com/package/react-native-ui-lib)\n \u003ca href=\"https://twitter.com/rnuilib\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/rnuilib.svg?style=flat\u0026colorA=1DA1F2\u0026colorB=20303C\u0026label=Follow%20us%20on%20Twitter\" alt=\"Follow on Twitter\"\u003e\u003c/a\u003e\n\n\nCheck out our [Docs](https://wix.github.io/react-native-ui-lib/). \u003cbr\u003e\nOur [Discord Channel](https://discord.gg/2eW4g6Z)\n\nDownload our Expo demo app \u003cbr\u003e\n\u003cimg height=\"120\" src=\"https://user-images.githubusercontent.com/1780255/76164023-f2171400-6153-11ea-962d-d57b64a08a80.png\"\u003e \u003cbr\u003e\n(You will need the Expo App)\n\n\n## Installing\n\nSee setup instructions [here](https://wix.github.io/react-native-ui-lib/getting-started/setup).\n\n#### New Major Version 5.0\nSee [breaking changes](https://wix.github.io/react-native-ui-lib/getting-started/v5)\n\n#### For React Native \u003e= 0.60.0\nplease use `react-native-ui-lib`\n\n#### For React Native \u003c 0.60.0\nplease use `react-native-ui-lib@^3.0.0`\n\n## Create your own Design System in 3 easy steps\n\n### Step 1\nLoad your foundations and presets (colors, typography, spacings, etc...)\n\n```js\n// FoundationConfig.js\n\nimport {Colors, Typography, Spacings} from 'react-native-ui-lib';\n\nColors.loadColors({\n  primaryColor: '#2364AA',\n  secondaryColor: '#81C3D7',\n  textColor: '##221D23',\n  errorColor: '#E63B2E',\n  successColor: '#ADC76F',\n  warnColor: '##FF963C'\n});\n\nTypography.loadTypographies({\n  heading: {fontSize: 36, fontWeight: '600'},\n  subheading: {fontSize: 28, fontWeight: '500'},\n  body: {fontSize: 18, fontWeight: '400'},\n});\n\nSpacings.loadSpacings({\n  page: 20,\n  card: 12,\n  gridGutter: 16\n});\n\n```\n\n### Step 2\nSet default configurations to your components\n\n```js\n// ComponentsConfig.js\n\nimport {ThemeManager} from 'react-native-ui-lib';\n\n// with plain object\nThemeManager.setComponentTheme('Card', {\n  borderRadius: 8\n});\n\n// with a dynamic function\nThemeManager.setComponentTheme('Button', (props, context) =\u003e {\n  // 'square' is not an original Button prop, but a custom prop that can\n  // be used to create different variations of buttons in your app\n  if (props.square) {\n    return {\n      borderRadius: 0\n    };\n  }\n});\n```\n\n### Step 3\nUse it all together. \nYour configurations will be applied on uilib components so you can use them easily with [modifiers](https://wix.github.io/react-native-ui-lib/foundation/modifiers). \n\n```jsx\n// MyScreen.js\n\nimport React, {Component} from 'react';\nimport {View, Text, Card, Button} from 'react-native-ui-lib';\n\nclass MyScreen extends Component {\n  render() {\n    return (\n      \u003cView flex padding-page\u003e\n        \u003cText heading marginB-s4\u003eMy Screen\u003c/Text\u003e\n        \u003cCard height={100} center padding-card marginB-s4\u003e\n          \u003cText body\u003eThis is an example card \u003c/Text\u003e\n        \u003c/Card\u003e\n        \n        \u003cButton label=\"Button\" body bg-primaryColor square\u003e\u003c/Button\u003e\n      \u003c/View\u003e\n    );\n  }\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsticknet%2Freact-native-ui-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsticknet%2Freact-native-ui-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsticknet%2Freact-native-ui-lib/lists"}