Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

semantic-ui-react

Package Overview
Dependencies
Maintainers
2
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semantic-ui-react

The official Semantic-UI-React integration.

  • 2.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
212K
decreased by-7.97%
Maintainers
2
Weekly downloads
 
Created

What is semantic-ui-react?

semantic-ui-react is the official React integration for Semantic UI. It provides a set of React components that are styled using Semantic UI CSS framework, allowing developers to build responsive and visually appealing user interfaces with ease.

What are semantic-ui-react's main functionalities?

Buttons

The Button component allows you to create various types of buttons with different styles and behaviors. The example shows a primary button.

<Button primary>Primary Button</Button>

Forms

The Form component helps in creating forms with various input fields and validation. The example demonstrates a simple form with two input fields and a submit button.

<Form><Form.Field><label>First Name</label><input placeholder='First Name' /></Form.Field><Form.Field><label>Last Name</label><input placeholder='Last Name' /></Form.Field><Button type='submit'>Submit</Button></Form>

Modals

The Modal component is used to display content in a layer above the main content. The example shows a modal triggered by a button click, containing an image and some text.

<Modal trigger={<Button>Show Modal</Button>}><Modal.Header>Select a Photo</Modal.Header><Modal.Content><Image wrapped size='medium' src='/images/avatar/large/rachel.png' /><Modal.Description><Header>Default Profile Image</Header><p>We've found the following gravatar image associated with your e-mail address.</p><p>Is it okay to use this photo?</p></Modal.Description></Modal.Content><Modal.Actions><Button primary>Proceed</Button></Modal.Actions></Modal>

Menus

The Menu component is used to create navigation menus. The example shows a simple menu with three items.

<Menu><Menu.Item name='home' active /><Menu.Item name='messages' /><Menu.Item name='friends' /></Menu>

Cards

The Card component is used to display content in a card layout. The example shows a card with an image, header, meta information, description, and extra content.

<Card><Image src='/images/avatar/large/matthew.png' wrapped ui={false} /><Card.Content><Card.Header>Matthew</Card.Header><Card.Meta>Joined in 2015</Card.Meta><Card.Description>Matthew is a musician living in Nashville.</Card.Description></Card.Content><Card.Content extra><a><Icon name='user' />22 Friends</a></Card.Content></Card>

Other packages similar to semantic-ui-react

FAQs

Package last updated on 10 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc