1 |
|
2 | <p align="center">
|
3 | <a href="https://react.semantic-ui.com">
|
4 | <img height="128" width="128" src="https://github.com/Semantic-Org/Semantic-UI-React/raw/master/docs/app/logo.png">
|
5 | </a>
|
6 | </p>
|
7 |
|
8 |
|
9 | <h1 align="center">
|
10 | <a href="https://react.semantic-ui.com/">Semantic UI React</a>
|
11 | </h1>
|
12 |
|
13 |
|
14 | <p align="center">
|
15 | <a href="https://gitter.im/Semantic-Org/Semantic-UI-React">
|
16 | <img alt="Gitter" src="https://img.shields.io/badge/gitter-join_chat-1dce73.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB4PSIwIiB5PSI1IiBmaWxsPSIjZmZmIiB3aWR0aD0iMSIgaGVpZ2h0PSI1Ii8%2BPHJlY3QgeD0iMiIgeT0iNiIgZmlsbD0iI2ZmZiIgd2lkdGg9IjEiIGhlaWdodD0iNyIvPjxyZWN0IHg9IjQiIHk9IjYiIGZpbGw9IiNmZmYiIHdpZHRoPSIxIiBoZWlnaHQ9IjciLz48cmVjdCB4PSI2IiB5PSI2IiBmaWxsPSIjZmZmIiB3aWR0aD0iMSIgaGVpZ2h0PSI0Ii8%2BPC9zdmc%2B&logoWidth=8&style=flat-square&maxAge=2592000" />
|
17 | </a>
|
18 | <a href="https://circleci.com/gh/Semantic-Org/Semantic-UI-React/tree/master">
|
19 | <img alt="Circle" src="https://img.shields.io/circleci/project/Semantic-Org/Semantic-UI-React/master.svg?style=flat-square" />
|
20 | </a>
|
21 | <a href="https://codecov.io/gh/Semantic-Org/Semantic-UI-React">
|
22 | <img alt="Codecov" src="https://img.shields.io/codecov/c/github/Semantic-Org/Semantic-UI-React/master.svg?style=flat-square" />
|
23 | </a>
|
24 | <a href="https://david-dm.org/Semantic-Org/Semantic-UI-React">
|
25 | <img alt="David" src="https://img.shields.io/david/Semantic-Org/Semantic-UI-React.svg?style=flat-square" />
|
26 | </a>
|
27 | <a href="https://www.npmjs.com/package/semantic-ui-react">
|
28 | <img alt="npm" src="https://img.shields.io/npm/v/semantic-ui-react.svg?style=flat-square" />
|
29 | </a>
|
30 | </p>
|
31 |
|
32 | Hey, we're in development. Prior to reaching [v1.0.0][6]:
|
33 |
|
34 | 1. **MINOR** versions represent **breaking changes**
|
35 | 1. **PATCH** versions represent **fixes _and_ features**
|
36 | 1. There are **no deprecation warnings** between releases
|
37 | 1. You should consult the [**CHANGELOG**][18] and related issues/PRs for more information
|
38 |
|
39 | ## Installation & Usage
|
40 |
|
41 | See the [Documentation][2] for an introduction, usage information, and extensive examples.
|
42 |
|
43 | ## Built With Semantic UI React
|
44 |
|
45 | <img align="left" height="50" src="https://github.com/Semantic-Org/Semantic-UI-React/raw/master/docs/app/amazon-logo.png" />
|
46 | <img align="left" height="50" src="https://github.com/Semantic-Org/Semantic-UI-React/raw/master/docs/app/netflix-logo.png" />
|
47 | <a href="https://github.com/Semantic-Org/Semantic-UI-React/edit/master/README.md">
|
48 | <img height="50" src="https://github.com/Semantic-Org/Semantic-UI-React/raw/master/docs/app/add-yours.png" />
|
49 | </a>
|
50 |
|
51 | These great products are built on Semantic UI React. Add yours [here][22].
|
52 |
|
53 | - Netflix's Edge Developer Experience team's numerous [internal apps](https://github.com/Semantic-Org/Semantic-UI-React/issues/1604)
|
54 | - Amazon Publishing — the full-service publisher of Amazon — [APub.com](https://amazonpublishing.amazon.com)
|
55 | - https://gitconnected.com - The community for developers and software engineers
|
56 | - http://stoplight.io
|
57 | - https://roadmap.space
|
58 | - https://edabit.com
|
59 | - https://blackship.com
|
60 | - http://www.brewhousesolutions.com
|
61 | - https://www.seeuletter.com
|
62 | - https://www.stackforge.co
|
63 | - https://sublimefund.org
|
64 | - https://thefaithcircle.com
|
65 | - https://appfollow.io
|
66 | - http://according.to.localsourc.es
|
67 | - http://www.aircip.ir
|
68 | - http://platform.nazarbazaar.ir
|
69 | - https://build.games
|
70 | - https://platform.forecastcycles.com
|
71 | - https://www.findlectures.com
|
72 | - https://github.com/ayastreb/bandwidth-hero
|
73 |
|
74 | ## Example Projects
|
75 |
|
76 | This is a listing of example projects and guides that will help you integrate Semantic UI React into your new or existing projects.
|
77 |
|
78 | ### [webpack1][28]
|
79 | Our example project right [here][28] in this repo.
|
80 |
|
81 | ### [webpack2][29]
|
82 | Our example project right [here][29] in this repo.
|
83 |
|
84 | ### [SUIcrux][102]
|
85 | Advanced universal starter with Semantic-UI-React. React/Redux/Lazy-loading/SSR/PWA.
|
86 |
|
87 | ### [semantic-ui-react-todos][100]
|
88 | This example modifies the well-known [react-redux Todo List][101] to use Semantic UI components. There is also a write-up on the process in the project README.
|
89 |
|
90 | ## FAQ
|
91 |
|
92 | ### Can I use custom Icons?
|
93 | Yes. Just use `<Icon className='my-icon' />` instead of `<Icon name='my-icon' />`. See https://github.com/Semantic-Org/Semantic-UI-React/issues/931#issuecomment-263643210 for detailed info and examples.
|
94 |
|
95 | ### How do I setup CSS?
|
96 | There are several options. Refer to our doc on [CSS Usage][23].
|
97 |
|
98 | ### Can I use a custom CSS theme?
|
99 | Yes. Semantic UI React includes components that render valid Semantic UI HTML, no CSS is included. This allows you to load any Semantic UI CSS theme on top of your Semantic UI React app.
|
100 |
|
101 | Here are some helpful links:
|
102 |
|
103 | - [Building CSS with Webpack][24]
|
104 | - [Building CSS with Meteor][30]
|
105 | - [Creating a standalone theme][25]
|
106 |
|
107 | ## Voice Your Opinion
|
108 |
|
109 | Help shape this library by weighing in on our [RFC (request for comments)][19] issues.
|
110 |
|
111 | ## How Can I Help?
|
112 |
|
113 | Our [CONTRIBUTING.md][1] is a step-by-step setup and development guide. It is meant to be read from top to bottom. Once you're up to speed, each issue here includes more information on how you can help:
|
114 |
|
115 | ### [Good First Issue][21]
|
116 |
|
117 | Issues labeled [`good first issue`][21] are a great way to ease into development on this project.
|
118 |
|
119 | ### [Missing Components][17]
|
120 |
|
121 | We're seeking component parity with Semantic UI, plus some addons. There is an issue for every missing component, labeled [`new component`][17]. Just comment on the issue you'd like to take.
|
122 |
|
123 | ### [Help Wanted Label][4]
|
124 |
|
125 | Any other issue labeled [`help wanted`][4] is ready for a PR.
|
126 |
|
127 | ## 100% Semantic UI Support
|
128 |
|
129 | | Elements | Collections | Views | Modules | Behaviors |
|
130 | |-----------------|-----------------|-----------------|-----------------|--------------------|
|
131 | | ✓ Button | ✓ Breadcrumb | ✓ Advertisement | ✓ Accordion | Form Validation |
|
132 | | ✓ Container | ✓ Form | ✓ Card | ✓ Checkbox | *API (NA)* |
|
133 | | ✓ Divider | ✓ Grid | ✓ Comment | ✓ Dimmer | ✓ Visibility |
|
134 | | ✓ Flag | ✓ Menu | ✓ Feed | ✓ Dropdown | |
|
135 | | ✓ Header | ✓ Message | ✓ Item | ✓ Embed | |
|
136 | | ✓ Icon | ✓ Table | ✓ Statistic | ✓ Modal | |
|
137 | | ✓ Image | | | ✓ Popup | |
|
138 | | ✓ Input | | | ✓ Progress | |
|
139 | | ✓ Label | | | ✓ Rating | |
|
140 | | ✓ List | | | ✓ Search | |
|
141 | | ✓ Loader | | | Shape | |
|
142 | | ✓ Rail | | | ✓ Sidebar | |
|
143 | | ✓ Reveal | | | ✓ Sticky | |
|
144 | | ✓ Segment | | | ✓ Tab | |
|
145 | | ✓ Step | | | ✓ Transition | |
|
146 |
|
147 | ## Principles
|
148 |
|
149 | - No jQuery dependency
|
150 | - No animation dependencies
|
151 | - Reuse SUI CSS transitions
|
152 | - Simple declarative component APIs vs intricate HTML markup
|
153 | - Complete keyboard support
|
154 | - Complete SUI component definition support
|
155 | - Completely documented
|
156 | - Completely tested
|
157 |
|
158 | ## Releasing
|
159 |
|
160 | On the latest clean `master`:
|
161 |
|
162 | ```sh
|
163 | yarn release:major
|
164 | yarn release:minor
|
165 | yarn release:patch
|
166 | ```
|
167 |
|
168 | Releasing will update the changelog which requires [github_changelog_generator][15].
|
169 |
|
170 | ## Credit
|
171 |
|
172 | Originally made for [@TechnologyAdvice][9] by [@levithomason][26].
|
173 |
|
174 | Big thanks to our [contributors][20], especially:
|
175 |
|
176 | - [@layershifter][27] for essentially taking over during [@levithomason][26]'s unavailability
|
177 | - @jcarbo for thoughtful engineering
|
178 | - @jamiehill for early engineering and support
|
179 |
|
180 | [1]: https://github.com/Semantic-Org/Semantic-UI-React/blob/master/.github/CONTRIBUTING.md
|
181 | [2]: https://react.semantic-ui.com/
|
182 | [3]: https://facebook.github.io/react/
|
183 | [4]: https://github.com/Semantic-Org/Semantic-UI-React/labels/help%20wanted
|
184 | [5]: https://semantic-ui.com/
|
185 | [6]: https://github.com/Semantic-Org/Semantic-UI-React/milestone/1
|
186 | [7]: https://github.com/webpack/webpack-dev-server/
|
187 | [8]: https://github.com/Semantic-Org/Semantic-UI-React/issues/243
|
188 | [9]: https://github.com/TechnologyAdvice
|
189 | [10]: https://en.wikipedia.org/wiki/Eating_your_own_dog_food
|
190 | [11]: https://github.com/Semantic-Org/Semantic-UI-React/issues/247
|
191 | [12]: https://github.com/Semantic-Org/Semantic-UI-React/issues/243
|
192 | [13]: https://webpack.github.io
|
193 | [14]: https://github.com/Semantic-Org/Semantic-UI-React/issues
|
194 | [15]: https://github.com/skywinder/github-changelog-generator
|
195 | [17]: https://github.com/Semantic-Org/Semantic-UI-React/issues?q=is%3Aissue+is%3Aopen+label%3A%22new+component%22
|
196 | [18]: https://github.com/Semantic-Org/Semantic-UI-React/blob/master/CHANGELOG.md
|
197 | [19]: https://github.com/Semantic-Org/Semantic-UI-React/issues?q=is%3Aopen+RFC+label%3ARFC
|
198 | [20]: https://github.com/Semantic-Org/Semantic-UI-React/graphs/contributors
|
199 | [21]: https://github.com/Semantic-Org/Semantic-UI-React/labels/good%20first%20issue
|
200 | [22]: https://github.com/Semantic-Org/Semantic-UI-React/edit/master/README.md
|
201 | [23]: https://react.semantic-ui.com/usage#css
|
202 | [24]: https://github.com/Semantic-Org/Semantic-UI-React/issues/802#issuecomment-258990274
|
203 | [25]: http://learnsemantic.com/themes/creating.html
|
204 | [26]: https://github.com/levithomason
|
205 | [27]: https://github.com/layershifter
|
206 | [28]: https://github.com/Semantic-Org/Semantic-UI-React/tree/master/examples/webpack1
|
207 | [29]: https://github.com/Semantic-Org/Semantic-UI-React/tree/master/examples/webpack2
|
208 | [30]: https://github.com/Semantic-Org/Semantic-UI-Meteor
|
209 |
|
210 |
|
211 | [100]: https://github.com/wyc/semantic-ui-react-todos
|
212 | [101]: https://github.com/reactjs/redux/tree/master/examples/todos
|
213 | [102]: https://github.com/Metnew/react-semantic.ui-starter
|