Installation Learn how to setup Semantic UI code Guide
Categories

Installation

Steps

  1. Install the package

    Terminal window
    npm install @semantic-ui/core
  2. Import Global CSS Tokens

    import '@semantic-ui/core/css';
  3. Import Components

    Option 1 - Import the components you would like to use.

    import { UIButton } from '@semantic-ui/core';

    Option 2 - Import the entire framework to access every component.

    import '@semantic-ui/core';
  4. Use UI Components

    <ui-button primary>Click me</ui-button>
Previous
Why Semantic?
Next
What's New?