All Projects โ†’ medly โ†’ medly-components

medly / medly-components

Licence: MIT License
๐Ÿงฉ Medly components provides numerous themable react components, each with multiple varitaions of sizes, colors, position etc.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to medly-components

Lerna Yarn Workspaces Monorepo
๐Ÿ‰ A Monorepo with multiple packages and a shared build, test, and release process.
Stars: โœญ 201 (+204.55%)
Mutual labels:  babel, styled-components, jest, lerna, storybook
personal-blog
โœ๏ธ ไธชไบบๆŠ€ๆœฏๅšๅฎข
Stars: โœญ 79 (+19.7%)
Mutual labels:  styled-components, jest, storybook
chic-ui
Lightweight CSS-in-JS styled UI Component Library for React
Stars: โœญ 39 (-40.91%)
Mutual labels:  styled-components, storybook, hacktoberfest2021
Arc
React starter kit based on Atomic Design
Stars: โœญ 2,780 (+4112.12%)
Mutual labels:  styled-components, jest, storybook
Moveit
๐Ÿš€ NLW #4 | React+ TypeScript + NextJS + StyledComponents + Firebase + MongoDb +Axios
Stars: โœญ 39 (-40.91%)
Mutual labels:  styled-components, jest, storybook
react-component-library-lerna
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.
Stars: โœญ 55 (-16.67%)
Mutual labels:  styled-components, jest, storybook
2019 12
๐ŸŽŸ ๊ธ‰์ฆํ•˜๋Š” ํŠธ๋ž˜ํ”ฝ์—๋„ ์•ˆ์ •์ ์ธ ์˜ˆ์•ฝ ์„œ๋น„์Šค, Atomic Pattern์„ ์ ์šฉํ•œ ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ปดํฌ๋„ŒํŠธ, ์‹ค์šฉ์ ์ธ Testing์„ ์ฃผ์ œ๋กœ ํ•˜๋Š” ์ด๋ฒคํŠธ ์„œ๋น„์Šค
Stars: โœญ 169 (+156.06%)
Mutual labels:  styled-components, jest, storybook
minesweeper
๐Ÿ’ฃMinesweeper game written with React
Stars: โœญ 18 (-72.73%)
Mutual labels:  styled-components, jest, react-testing-library
Entria Fullstack
Monorepo Playground with GraphQL, React, React Native, Relay Modern, TypeScript and Jest
Stars: โœญ 434 (+557.58%)
Mutual labels:  babel, jest, lerna
Ts Monorepo
Template for setting up a TypeScript monorepo
Stars: โœญ 459 (+595.45%)
Mutual labels:  babel, jest, lerna
Express React Boilerplate
๐Ÿš€๐Ÿš€๐Ÿš€ This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: โœญ 32 (-51.52%)
Mutual labels:  babel, jest, storybook
React Bolt
โšก The most simple & robust boilerplate for your React projects.
Stars: โœญ 298 (+351.52%)
Mutual labels:  babel, styled-components, jest
React Bootstrap Webpack Starter
ReactJS 16.4 + new React Context API +react Router 4 + webpack 4 + babel 7+ hot Reload + Bootstrap 4 + styled-components
Stars: โœญ 103 (+56.06%)
Mutual labels:  babel, styled-components, jest
Mhy
๐Ÿงฉ A zero-config, out-of-the-box, multi-purpose toolbox and development environment
Stars: โœญ 128 (+93.94%)
Mutual labels:  babel, jest, storybook
sugui
UI Components library based on React, Styled Components and React Testing Library
Stars: โœญ 17 (-74.24%)
Mutual labels:  styled-components, react-testing-library
react-library-starter
A library starter kit and bundler for your React projects, powered by Rollup. โšก
Stars: โœญ 22 (-66.67%)
Mutual labels:  styled-components, storybook
lerna-starter
Simple React UI Development environment boilerplate to develop, test and publish your React components.
Stars: โœญ 55 (-16.67%)
Mutual labels:  lerna, storybook
react-ecommerce
E-commerce monorepo application using NextJs, React, React-native, Design-System and Graphql with Typescript
Stars: โœญ 136 (+106.06%)
Mutual labels:  lerna, storybook
ui-kit
D2iQ UI Kit
Stars: โœญ 29 (-56.06%)
Mutual labels:  storybook, react-testing-library
fyndiq-ui
Library of reusable web frontend components for Fyndiq
Stars: โœญ 39 (-40.91%)
Mutual labels:  lerna, storybook

Medly Components

Medly Components

Lint, Build, Test react version styled-components version typescript version Commitizen friendly GitHub lerna

Themable React components with various configurations to match your needs.

Documentation

To view a detailed description of the components in storybook click here.

Table of Contents

Getting Started

npx create-react-app medly-components-demo --template typescript
cd medly-components-demo
yarn add styled-components @types/styled-components
yarn add @medly-components/theme @medly-components/utils @medly-components/icons @medly-components/core @medly-components/layout @medly-components/loaders @medly-components/forms

Replace the index.tsx content with the following:

import { defaultTheme } from '@medly-components/theme';
import { CssBaseline } from '@medly-components/core';
import { ThemeProvider } from 'styled-components';
import React from 'react';
import * as ReactDOM from 'react-dom';
import App from './App';

ReactDOM.render(
 <ThemeProvider theme={defaultTheme}>
  <CssBaseline />
  <App />
 </ThemeProvider>,
 document.getElementById('root')
);

Replace the App.tsx content with the following:

import React from 'react';
import { Button } from '@medly-components/core';

const App: React.FC = () => <Button variant="solid">Click me!</Button>;

export default App;

If you are using a static property of any component like Modal.Header, you must add "strictNullChecks": false in your tsconfig.json file.

Packages

The component library consists of the following packages:

Core

The Core package consists of almost all the basic React components like Avatar, Button, Input, List, Modal, etc.

Forms

The Form package lets you create dynamic forms using simple JSON.

Icons

The Icon package consists of the most commonly used SVG icons exposed as React components.

Layout

The Layout package consists of components that help in creating a page layout using side panels and nav items, which are exposed as React components.

Loaders

The Loaders package consists of a few simple SVG loaders exposed as React components.

Markdown

The Markdown package consists of a basic syntx guide which helps you format your content.

Theme

The Theme package defines the overall look, feel, and style of your website. Each component can be defined individually. For example, all icons of a website can be made solid, the color of all the components can be made orange, etc.

Utils

The Utils package consists of the most commonly used functionalities and components. E.g. String Helper has functions to convert a string to camelCase, case insensitive string comparison etc.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting us the pull requests.

Contributors

This project exists thanks to all the people who contribute.

Built With

๐Ÿ”ฅ react

๐Ÿ’… styled-components

โ›‘ typescript

๐Ÿ“š storybook

๐Ÿ’ฅ babel

๐Ÿ react-testing-library

NPM Scripts

Please find below a list of commands to execute various tasks:

  • yarn build to build components
  • yarn commit to commit with conventional-commit approach
  • yarn lint:css to run the css lint
  • yarn lint:ts to run the ts lint
  • yarn lint to run both css & ts lint
  • yarn test to run tests and type check
  • yarn test:update to update snapshots
  • yarn test:watch to watch tests
  • yarn type-check to run tsc to check types
  • yarn test:jest to run test only
  • yarn storybook to run storybook for live reloading your components
  • yarn release to publish the latest version to npm
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].