• Stars
    star
    842
  • Rank 52,357 (Top 2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 6 years ago
  • Updated 17 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

React components for creating SmartHR applications.

SmartHR UI

SmartHR は、SmartHR 基本機能からはじまり、今では多くのオプション機能を提供しています。 SmartHR UI はそのすべてのアプリケーションの UI コンポーネントを共通化して、開発生産性や完成度を向上させるための UI コンポーネントライブラリです。

npm version CircleCI e2e

コンポーネント

masterブランチのコンポーネント一覧は Storybook から確認できます。 https://story.smarthr-ui.dev

インストール

SmartHR-UI はnpm packageとして提供しています。

// with npm
npm install smarthr-ui

// with yarn
yarn add smarthr-ui

peerDependencies として React, React-DOM, styled-components が必要です。

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

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

使いかた

最もシンプルで簡単な使用例を紹介します。

import React from 'react'
import { createRoot } from 'react-dom/client'
import { createTheme, ThemeProvider, Button } from 'smarthr-ui'

const theme = createTheme()

const App: React.FC = () => (
  <ThemeProvider theme={theme}>
    <Button variant="primary">Hello World</Button>
  </ThemeProvider>
)

const container = document.getElementById('app')
const root = createRoot(container)
root.render(<App />)

コントリビュート

SmartHR UI は OSS です。コントリビュートをお待ちしています。

更新履歴

更新履歴はReleasesを確認してください。

デザイン・ロゴの利用について

  • SmartHR UI のデザインデータはFigmaで公開しています。
  • SmartHR のロゴを利用する場合はSmartHR Design Systemの利用規約を確認してください。

ライセンス

このプロダクトはMITの条件に従ってライセンスされています。

More Repositories

1

activerecord-bitemporal

BiTemporal Data Model for ActiveRecord
Ruby
197
star
2

textlint-rule-preset-smarthr

SmartHRらしい文書を書くための、textlintルールプリセットを提供します。
TypeScript
109
star
3

yay

SmartHR bootcamp for Ruby and Rails
Ruby
101
star
4

smarthr-design-system

MDX
98
star
5

kiji

e-Gov 外部連携API 連携 gem
Ruby
87
star
6

yokoso

🚪 Slack integration for https://srd-gate.com/03/login.cgi
Ruby
76
star
7

tsubaki

My Number & Corporate Number validator
Ruby
60
star
8

kirico

A Ruby implementation of 届書作成プログラム
Ruby
38
star
9

hello-world

SmartHRのエンジニア採用サイトのソースコード置き場
Astro
37
star
10

activerecord-tenant-level-security

An Active Record extension for Multitenancy with PostgreSQL Row Level Security
Ruby
35
star
11

jpostcode-rb

📮 A Ruby implementation of Japan postcode
Ruby
23
star
12

jpostcode-data

📮 A Japan postcode data source for jpostcode-rb
Ruby
18
star
13

mie

RubyKaigi Takeout 2021 アプリだよ〜
HTML
17
star
14

product-design

Astro
15
star
15

eslint-plugin-smarthr

JavaScript
12
star
16

smarthr-textlint-bot

textlint-rule-preset-smarthr に基づいて Slack上から文書のlintとfixを行えるbotです。
TypeScript
11
star
17

db_schema_checker

Ruby
10
star
18

eslint-config-smarthr

JavaScript
9
star
19

renovate-config

9
star
20

smarthr-oss-guideline

SmartHRのOSSガイドライン
9
star
21

tamatebako

TypeScript
8
star
22

saiyo-tasukete

このリポジトリでは SmartHR 社のエンジニア採用を盛り上げることをします
8
star
23

textlint-ruby

Ruby AST parser for textlint-ruby-plugin
Ruby
7
star
24

smarthr-patterns

TypeScript
6
star
25

omniauth-smarthr

OmniAuth strategy for SmartHR
Ruby
3
star
26

stylelint-config-smarthr

JavaScript
2
star
27

textlint-plugin-ruby

Ruby plugin for textlint
TypeScript
1
star
28

smarthr-normalize-css

TypeScript
1
star