Git Product home page Git Product logo

design-system-example-components's Introduction

React サンプルコンポーネント

デジタル庁デザインシステム v.1.4.2のコンポーネントの一部をReact / Tailwind CSSベースで実装したサンプル集です。

未実装コンポーネント

このリポジトリでは全てのコンポーネントは実装していません。
(定期的にサンプルは追加予定です。)
未実装のコンポーネントについてはスクラッチで書かずに、以下のようなヘッドレスUIライブラリの利用を推奨します。

スクラッチで書く場合は、ARIA Authoring Practices Guide (APG)Patternsを参考にして実装を進める事を推奨します。

サンプルコード

動作確認

以下のコマンドでStorybookを実行してください。

npm install
npm run storybook

スタイリング

@digital-go-jp/tailwind-theme-plugin は、デジタル庁デザインシステムのデザイントークンをベースにしたTailwind CSSのプラグインです。

プラグインで定義されるトークン一覧は、トークン一覧 をご確認ください。

プロジェクト固有のトークン等については tailwind.config.js の extend で拡張してください。

注意事項

  • サンプルコードは Google Chrome / Microsoft Edge / Safari / Firefox の最新版で動作を確認しています。
  • サンプルコードはプロジェクトの特性に合わせて自由に拡張してください。

Issues, Pull Requests

ご興味を持って頂きありがとうございます。
リリース直後のため、現在体制がまだ整っておりません。
そのため、何かお気づきの点やご要望がございましたら、まずはIssueの作成をお願いします。PRはそのIssueでの議論が終わった後に作成してください。
また、現時点ではコンポーネントそのものに関するIssueのみを受け付けておりますので、予めご了承ください。

design-system-example-components's People

Contributors

takumi-hatta-dig avatar johnykei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.