Giter Site home page Giter Site logo

semantic-org / semantic-ui Goto Github PK

View Code? Open in Web Editor NEW
51.0K 1.3K 5.0K 110.46 MB

Semantic is a UI component framework based around useful principles from natural language.

Home Page: http://www.semantic-ui.com

License: MIT License

HTML 0.67% JavaScript 62.99% Less 36.34%
ui ui-components flexbox css-framework dropdown button popup sidebar tooltip semantic

semantic-ui's Introduction

Semantic

Semantic UI

Join the chat at https://gitter.im/Semantic-Org/Semantic-UI

CDNJS

Semantic is a UI framework designed for theming.

Key Features

  • 50+ UI elements
  • 3000 + CSS variables
  • 3 Levels of variable inheritance (similar to SublimeText)
  • Built with EM values for responsive design
  • Flexbox friendly

Semantic allows developers to build beautiful websites fast, with concise HTML, intuitive javascript, and simplified debugging, helping make front-end development a delightful experience. Semantic is responsively designed allowing your website to scale on multiple devices. Semantic is production ready and partnered with frameworks such as React, Angular, Meteor, and Ember, which means you can integrate it with any of these frameworks to organize your UI layer alongside your application logic.

2.5.0 Release (Oct 6, 2022)

Semantic UI is now compatible with Node 18 and Gulp 4.

User Support

Please help us keep the issue tracker organized. For technical questions that do not include a specific JSFiddle test case (bug reports), or feature request please use StackOverflow to find a solution.

Visit our contributing guide for more on what should be posted to GitHub Issues.

Install

Recommended Install

npm install semantic-ui  # Use themes, import build/watch tasks into your own gulpfile.

Semantic UI includes an interactive installer to help setup your project.

Additional Versions

Environment Install Script Repo
CSS Only npm install semantic-ui-css CSS Repo
LESS Only npm install semantic-ui-less LESS Repo
LESS plugin npm install less-plugin-semantic-ui LESS Plugin Repo
EmberJS ember install:addon semantic-ui-ember Ember Repo
Meteor - LESS meteor add semantic:ui Meteor Repo
Meteor - CSS meteor add semantic:ui-css CSS Repo
Bower bower install semantic-ui

Check out our integration wiki for more options.

Browser Support

  • Last 2 Versions FF, Chrome, Safari Mac
  • IE 11+
  • Android 4.4+, Chrome for Android 44+
  • iOS Safari 7+
  • Microsoft Edge 12+

Although some components will work in IE9, grids and other flexbox components are not supported by IE9 and may not appear correctly.

Community

Getting Help

Please do not post usage questions to GitHub Issues. For these types of questions use our Gitter chatroom or StackOverflow.

Submitting Bugs and Enhancements

GitHub Issues is for suggesting enhancements and reporting bugs. Before submiting a bug make sure you do the following:

  • Check out our contributing guide for info on our release cycle.
  • Fork this boilerplate JSFiddle to create a test case for your bug. If a bug is apparent in the docs, that's ok as a test case, just make it clear exactly how to reproduce the issue. Only bugs that include a test case can be triaged.

Pull Requests

When adding pull requests, be sure to merge into the next branch. If you need to demonstrate a fix in next release, you can use this JSFiddle

International

  • Chinese A Chinese mirror site is available at http://www.semantic-ui.cn.
  • Right-to-Left (RTL) An RTL version can be created using our build tools by selecting rtl from the install script.
  • Translation To help translate see the Wiki Guide for translations.

Resources

Resource Description
Bugs & Feature Requests All bug submission require a link to a test case, and a set of steps to reproduce the issue. You can make a test case by forking this JSFiddle, then submit your bug report on GitHub Issues
Live Chat Join our Gitter.im Room
Newsletter Updates Sign up for updates at semantic-ui.com
Additional Resources Submit a question on StackOverflow or ask our Google Group

Places to Help

Project How To Help Next Step
Localization Help us translate Semantic UI into your language Join our Translation Community
SCSS SASS needs PR to support variables inside @import Add Pull Request for #739
Angular Help develop angular bindings Reach Out on GitHub Issues
Guides & Tutorials Help write guides and tutorials Join the discussion

Reaching Out

If you'd like to start a conversation about Semantic feel free to e-mail me at [email protected]

semantic-ui's People

Contributors

andreiho avatar anotherzero avatar avalanche1 avatar awgv avatar brigand avatar davialexandre avatar deneuxa avatar dos1 avatar edumucelli avatar eibrahim avatar frontdevde avatar jlukic avatar jsoref avatar lemartialou avatar levithomason avatar maturanomx avatar mdehoog avatar mishak87 avatar mohammadyounes avatar nielslerches avatar nsmith avatar pcj avatar psyton avatar quirkyjack avatar romuloctba avatar sami-t avatar splendido avatar tbracken avatar tomsseisums avatar vsn4ik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

semantic-ui's Issues

Icon Extras

It would be awesome if font-awesome-ish icon styles were added.

E.g.

  • Rotated/Flipped Icons
  • Stacked Icons
  • Spinners

Modules events are being enqueued

The Dropdown and Dimmer hide and show events are being enqueued and executing multiple times.
To reproduce that try clicking the dropdown or dimmer button multiple times.

Make it really semantic

Please rework the whole codebase, especially the examples, to make the project semantic, as it states itself to be.

Where is the semantic in styling a DIV as a button? Use the BUTTON-element instead. It has a special purpose and meaning. And purpose and meaning are what drives semantics. Not the naming of a class.

improve the semantic about menu component

if you have a list of items, you probably have to work with UL followed by LI

and if you have a short piece of code inside your menu, you shouldn't use DIV, because W3C recommends SMALL tag to do this.

Modal

Do you have Modal module in your Semantic UI?

Thanks!

elements/divider: Icon in input field caused wrong left offset in corner label icon

elements_divider

<div class="field">
  <label>Username</label>
  <div class="ui labeled icon input">
    <input type="password" placeholder="Username">
    <i class="user icon"></i>
    <div class="ui corner label">
      <i class="asterisk icon"></i>
    </div>
  </div>
</div>

How the corner label icon looks if the icon i in the input field and the class icon in the div are removed:

elements_divider_2

<div class="field">
  <label>Username</label>
  <div class="ui labeled input">
    <input type="password" placeholder="Username">
    <div class="ui corner label">
      <i class="asterisk icon"></i>
    </div>
  </div>
</div>

Also: input type should not be "password" for the username.

modules/accordion: colored table segment without curved corners

The border corners in the table segments in modules/accordion...

modules_accordion

...should look like that of the colored segments in elements/segment.

elements_segment

The tables on the doc pages of the other modules use celled definition table segments instead of colored table segments. Do the definition tables supersede the colored tables? It would be nice to have an example of a colored table segment in collections/table.

modules_rating

AJAX form validation

Does you have any plans to add any kind of AJAX-validations support for the form validation module? I think, it would be great.

Issue when closing the dimmer

In the second example of dimmer documentation to close it you have to click out of the centered div, and could mislead the user.
I think would be better if close when you click anywhere.

Form Validations

To make inline validation perfect (the last example here http://semantic-ui.com/modules/form.html) according to the UX, the scenario should be like that:

  1. I enter 'wrong' data, no error is showed.
  2. I move focus to the other input and in case of wrong data in previous one the inline error appears.
  3. I return to the input with wrong data and (this part works wrong now) as only as I enter correct data the error message disappears.
    Now check happens only when the input loses focus. But in case of error already shown check should happen after every sign typed.
    form validation

Add a select dropdown with a search input

I wnat to talk about the possibility of adding a select dropdown with input search, some like Select2, Selectize or Choosen... but restyled to fit to the apperance of semantic-ui.
With an animation when the dropdown appear.
Would be epic. I think would be very useful.

Checkbox (radio) in modal not working

Hi,
I'm displaying a radio group inside a modal and the radios are not selectable (clickable). Might be a z-index problem?

<div class="ui dimmer page visible active">
<div class="ui signoff modal transition visible active" style="margin-top: -198px;">
            <i class="close icon"></i>
            <div class="header">
              ...
            </div>
            <div class="content">
              <div class="left">
                <img class="ui image" src="images/avatar.jpg">
              </div>
              <div class="right">
                <div class="ui header">...</div>
                <div class="ui form">
                  <div class="grouped inline fields">
                    <div class="field">
                      <div class="ui radio checkbox">
                        <input type="radio" name="example" checked="checked" value="1">
                        <label></label>
                      </div>
                      <label>A</label>
                    </div>
                    <div class="field">
                      <div class="ui radio checkbox">
                        <input type="radio" name="example" value="2">
                        <label></label>
                      </div>
                      <label>B</label>
                    </div>
                    <div class="field">
                      <div class="ui radio checkbox">
                        <input type="radio" name="example" value="3">
                        <label></label>
                      </div>
                      <label>C</label>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div class="actions">
            ...
            </div>
          </div>
</div>

Conditional button only with "or" word

In the conditional buttons there is no the chance to choose the word of inside.
Imagine that someone wants to put "and" instead, or just a word in another language.

modules/modal: On 'show' passes default params

I may be not that experienced with UI but let me show what happens when I try to pass onHide function into the modal.
At first, I initialise it with these params. And I can see that the params were passed successfully:

        debug: false
        performance: false
        onHide: ->
            console.log "Hided!"
        onShow: ->
            console.log "Shown!" 

But if I try to show it:

$('.ui.modal').modal('show')

I get a modal with default params. E. g. with debug: true and without callbacks.

What am I doing wrong?

examples/feed: right floated date

examples_feed

<a class="item">
  <i class="empty star link icon"></i>
  text
  <div class="right floated date">Sep 05, 2013</div>
</a>

should be

examples_feed_2

<a class="item">
  <div class="right floated date">Sep 05, 2013</div>
  <i class="empty star link icon"></i>
  text
</a>

So that it shows the text and dates like in the feed view.

views_feed

circular icon inside field isn't circular

<div class="field">
    <label>Password</label>
    <div class="ui right labeled icon input">
      <input type="password">
      <i class="circular inverted teal lock icon"></i>
    </div>
  </div>

Autocomplete

I hope you will add autocomplete to your project soon... Thanks!

Modal with dimmer - working only once

Hi,
I've used this lib for the first time, I love the design and feel!

I've found a couple of problems, this is related to the modal:

To show the modal I use:

$('.ui.modal.signoff').modal('toggle')

This is the inspected HTML:

<div class="ui dimmer page visible active">
<div class="ui signoff modal transition visible active" style="margin-top: -198px;">
...
</div>
</div>

After closing the modal, this is the HTML (no more classes on the modal div!):

<div class="ui dimmer page hidden">
<div class="" style="margin-top: -198px;">
....
</div>
</div>

Alex

On the website, 'Download' uses the 'Upload' icon

In both the sidebar and the main button on the homepage, this isn't very semantic.

There is a download icon available on Fontello.

Class stack you're using:

inverted circular red upload icon

What it should probably be:

inverted circular red download icon

More Specification Information

i want to say well done ... Good Job ๐Ÿ‘ I think it would be nice to add more specification such as

  • Supported Browser
  • CSS version
  • Possible Dependency (eg HTML5)
  • Mobile Compatibility
  • Performance
  • etc

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.