Giter VIP home page Giter VIP logo

semantic-ui-react's Introduction

The official Semantic UI + React integration.

Gitter Circle CI Codecov Gemnasium npm

Hey, we're in development. Prior to reaching v1.0.0:

  1. MINOR versions represent breaking changes
  2. PATCH versions represent fixes and features
  3. There are no deprecation warnings between releases
  4. You should consult the CHANGELOG and related issues/PRs for more information

Help shape this library by weighing in on our RFC (request for comments) issues.

Documentation ๐Ÿ“˜

Getting started

Install

npm i semantic-ui-react -S

Usage

App.js

import React from 'react'
import { Button } from 'semantic-ui-react'

export default () => (
  <Button>Hello</Button>
)

index.html

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Semantic-UI-React</title>

  <!-- SUI CSS -->
  <link href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.8/semantic.css" rel="stylesheet">
</head>
<body>
  <script src="bundle.js"></script>
</body>
</html>

We then use Webpack to create bundle.js from App.js and include it in index.html.

For more complete examples, check out the Doc Site.

Debugger

We use the debug module for debugging. You can turn debugging on and off via the localStorage.debug flag from the browser console. See the debug docs for more.

localStorage.debug = 'semanticUIReact:*'         // default, debug all components
localStorage.debug = 'semanticUIReact:dropdown'  // debug only the dropdown
localStorage.debug = null                        // turn debug off

Once you change the flag, you need to refresh your browser to see the changes in debug output.

How Can I Help?

Our CONTRIBUTING.md 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:

Have a look at the task list on the issue to see where you can jump in.

We're seeking component parity with Semantic UI, plus some addons. There is an issue for every missing component, labeled enhancement help wanted. Just comment on the issue you'd like to take.

Any other issue labeled help wanted is ready for a PR.

Our Principles

TechnologyAdvice has been dogfooding Semantic-UI-React in production since fall of 2015. These are the guiding principles that have developed as a result:

  • No jQuery dependency
  • No animation dependencies
  • Reuse SUI CSS transitions
  • Complete keyboard support
  • Complete SUI component definition support
  • Completely documented
  • Completely tested
  • Abstract away HTML markup intricacies

Support

Elements Collections Views Modules Behaviors
โœ“ Button โœ“ Breadcrumb Advertisement โœ“ Accordion โœ“ Form Validation
โœ“ Container โœ“ Form โœ“ Card โœ“ Checkbox API (NA)
โœ“ Divider โœ“ Grid โœ“ Comment Dimmer Visibility (NA)
โœ“ Flag โœ“ Menu โœ“ Feed โœ“ Dropdown
โœ“ Header โœ“ Message โœ“ Item Embed
โœ“ Icon โœ“ Table โœ“ Statistic โœ“ Modal
โœ“ Image Nag
โœ“ Input โœ“ Popup
โœ“ Label โœ“ Progress
โœ“ List โœ“ Rating
โœ“ Loader โœ“ Search
โœ“ Rail Shape
Reveal Sidebar
โœ“ Segment Sticky
โœ“ Step Tab
Transition

Releasing

On the latest clean master:

npm run release:major
npm run release:minor
npm run release:patch

Credit

Made with โค๏ธ @TechnologyAdvice, a ridiculous place to work.

semantic-ui-react's People

Contributors

levithomason avatar deweybot avatar kyleturco avatar tadeploy avatar athurman avatar layershifter avatar eanplatter avatar jeffcarbs avatar dpkwhan avatar jhchill666 avatar greenkeeperio-bot avatar dylankiss avatar dmitriyshx avatar chris-r3 avatar typehorror avatar asiniy avatar sprmn avatar fuatsengul avatar ianunruh avatar johnsel avatar joshuazmiller avatar tslater avatar brsanthu avatar fodurrr avatar

Watchers

Yago avatar  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.