How to use semantic-ui-react - 10 common examples

To help you get started, we’ve selected a few semantic-ui-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github phmatray / openjam / src / components / layout / LayoutPresenter.js View on Github external
const playerHeight = 90;
  const containerHeight = `calc(100vh - ${topbarHeight}px - ${playerHeight}px)`;

  return (
    <div>
      
        
          
        
        
          
        
      

      
        

        
          {/*  */}</div>
github walmartlabs / concord / console / src / secret / components / UploadExistingKeys / index.js View on Github external
const UploadExistingKeys = props =&gt; {
  const { handleSubmit, pristine, submitting } = props;
  return (
     
      <h2>Upload Existing Keys</h2>
      <form>
        
        
          <label>Concord ID</label>
            
        

        {/* 
            Styling File Inputs
            http://jsfiddle.net/Dr_Dev/2nu1ngk5/ 
        */}

        
          <label>Public Key: </label>
            </form>
github walmartlabs / concord / console / src / secret / components / CreatePlainSecret / index.js View on Github external
const CreatePlainSecret = props =&gt; {
  const { handleSubmit, pristine, submitting } = props;
  return (
    
      <h2>Create Plain Secret</h2>
      <form>
        
          <label>Concord ID</label>
          
        
        
          <label>Secret Phrase</label>
          
        
        {/* <div>
          <label>Generate Password</label>
            </div></form>
github walmartlabs / concord / console / src / secret / components / CreateNewKeyPair / index.js View on Github external
const CreateNewKeyPair = props =&gt; {
    const { handleSubmit, pristine, submitting } = props;
    return (
        
            <h2>Create New Key Pair</h2>
            <form>

                
                    <label>Concord ID</label>
                    
                
                {/* <div>
                <label>Generate Password</label>
                
            </div> */}

                {/* <div>
                <label>Store password</label>
                </div></form>
github Metnew / suicrux / src / common / components / parts / Sidebar / style.jsx View on Github external
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
`
//
export const SidebarLogoContainer = styled.a`
  background-color: ${props => props.theme.primaryColorDark};
  padding: 25px;
  text-align: center;
  ${media.md`
    padding: 25px;
  `};
	${media.lg`
    padding: 20px;
  `};
`
// Color: ${props => props.theme.primaryColorText}!important;
export const SidebarItem = styled(Menu.Item)``
//
export const SidebarLogoutItem = SidebarItem.extend`
  cursor: pointer;
  border-top: 1px solid rgba(34, 36, 38, 0.15) !important;
`
github TiE23 / metric-teacher / client / src / components / landing / welcome / Welcome.js View on Github external
<header>
            
            {SITE_NAME} in Action
          </header>
        
      
    

    
      {/* Desktop */}
      
        
      

      {/* Mobile */}
github Metnew / suicrux / src / common / containers / App / style.jsx View on Github external
import styled, {css} from 'styled-components'
import {Dimmer, Sidebar} from 'semantic-ui-react'

export const SidebarSemanticPushable = Sidebar.Pushable
export const SidebarSemanticPusherStyled = styled(Sidebar.Pusher)`
	height: 100%;
	-webkit-overflow-scrolling: touch;
	${({isloggedin, ismobile}) => {
		// using `ismobile` attr instead of `media` util is much smoother
		return (
			isloggedin &&
			!ismobile &&
			css`
				max-width: calc(100% - 150px);
				`
		)
	}};
`

export const PageLayout = styled.div`
github TiE23 / metric-teacher / client / src / components / landing / welcome / Welcome.js View on Github external
<header size="small">
            Start learning on {SITE_NAME} today!
          </header>
          
        
      
    

    {/* Mobile */}
    
      
        <img size="large" src="/img/challenge/r-correct-c.gif">
      
    
    
      
        
          <header size="large">
            
              "So, are you ready to learn?"
              
                <i>—{MASCOT_NAME_LONG}</i>
              
            
          </header>
          <header size="small">
            Start learning on {SITE_NAME} today!
          </header>
github nearprotocol / near-wallet / src / components / dashboard / KeyListItem.js View on Github external
import React from 'react'

import { Grid, Image } from 'semantic-ui-react'

import ArrowRight from '../../images/icon-arrow-right.svg'
import ArrowBlkImage from '../../images/icon-arrow-blk.svg'

import styled from 'styled-components'
import Balance from '../common/Balance'

// TODO: Refactor common code with KeyListItem
const CustomGridRow = styled(Grid.Row)`
   &&& {
      margin-left: 20px;
      border-left: 4px solid #f8f8f8;
      cursor: pointer;

      &.wide {
         margin-left: 0px;
         border-left: 0px;
      }

      .main-row-title {
         font-weight: 600;
         width: auto;
         padding-right: 0px;
         flex: 1;
         word-break: break-all;
github ilime / Petal / src / __tests__ / Sidebar.spec.js View on Github external
test('after login, navlink change', () =&gt; {
    let wrapperWithId = shallow()
    let index = 0
    wrapperWithId.find(Menu.Item).forEach(l =&gt; {
      expect(l.props().to).toMatch(authRoutes[index++])
    })
  })
})