smarthr-ui
    TypeScript icon, indicating that this package has built-in type declarations

    15.2.0 • Public • Published

    SmartHR UI

    React components for creating SmartHR applications.

    npm version CircleCI e2e

    Components

    master branch's storybook: https://smarthr-ui.netlify.com/

    Installation

    SmartHR-UI is available as an npm package.

    // with npm
    npm install smarthr-ui
    
    // with yarn
    yarn add smarthr-ui

    Install peerDependencies.

    // with npm
    npm install react react-dom styled-components
    
    // with yarn
    yarn add react react-dom styled-components

    Usage

    The simplest and easiest example to get you started.

    import React from 'react'
    import ReactDOM from 'react-dom'
    import { createTheme, ThemeProvider, PrimaryButton } from 'smarthr-ui'
    
    const theme = createTheme({})
    
    const App: React.FC<Record<string, unknown>> = () => (
      <ThemeProvider theme={theme}>
        <PrimaryButton>Hello World</PrimaryButton>
      </ThemeProvider>
    )
    
    ReactDOM.render(<App />, document.getElementById('app'))

    Contributing

    We'd greatly appreciate any contribution you make.

    Changelog

    Please read the changelog.

    Design

    We released design in Figma. If you use our service logo, please read the SmartHR Design System

    License

    This project is licensed under the terms of the MIT license.

    Install

    npm i smarthr-ui

    DownloadsWeekly Downloads

    1,497

    Version

    15.2.0

    License

    MIT

    Unpacked Size

    2.81 MB

    Total Files

    1600

    Last publish

    Collaborators

    • nabeliwo
    • atsushim
    • koba04
    • im36.123
    • smarthr-dev
    • ykarakita
    • cidermitaina
    • meganemura
    • wata727
    • wmoai
    • diescake
    • moshisora
    • tokky0425
    • hawaiiman
    • smarthr-admin
    • yamamoto-yuta
    • kgsi
    • otapo
    • kuny