README.md
March 11, 2021 ยท View on GitHub
Sha-el-design
React components for easier customization and smooth development flow.
๐ฅ Features
- ๐น Material inspired design.
- ๐ฆ A complete package of ui resource for any React project.
- ๐ก Made with โค using Typescript.
- ๐จ Easy theme customization using
ThemeContext. - ๐ค Smaller Footprint @ 102kb GZIPED.
๐ Environment Support
- Server-side Rendering
- Electron
![]() IE / Edge | ![]() Firefox | ![]() Chrome | ![]() Safari | ![]() Electron |
|---|---|---|---|---|
| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
๐ง Installation
Sha-el-design is available as an npm package.
// with npm
npm install react-icons sha-el-design
// with yarn
yarn add react-icons sha-el-design
๐ Usage
Simple example for you to get started.
import React from 'react';
import ReactDOM from 'react-dom';
import {Button} from 'sha-el-design';
function App() {
return (
<Button primary>Hello World</Button>
);
}
ReactDOM.render(<App />, document.querySelector('#app'));
๐ซ Examples
Check example folder.
โ Documentation
Check out our Storybook.
๐จ Theming
Sha-el-design supports Theming(DARK ๐ป, LIGHT and more) out of box using ThemeContext.
import * as React from 'react';
import { BrowserRouter, Route, Switch } from 'react-router-dom';
import { ThemeProvider } from 'sha-el-design/lib/components/Theme/Theme';
export class App extends React.Component {
public render() {
return (
<ThemeProvider theme="DARK">
<BrowserRouter>
<Switch>
<Route path="/login">
...
</Route>
<Route path="/home">
...
</Route>
</Switch>
</BrowserRouter>
</ThemeProvider>
);
}
}
๐ค Contributing
Make sure coding quality is best you can come up with also please be polite to everyone.
We would love a PR from you (It should make sense though).
๐ฃ Roadmap
Check Milestone
License
This project is licensed under the terms of the MIT license.




