Socket
Book a DemoInstallSign in
Socket

@helsenorge/designsystem-react

Package Overview
Dependencies
Maintainers
4
Versions
428
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helsenorge/designsystem-react

The official design system for Helsenorge built with React.

Source
npmnpm
Version
1.0.0-beta.26-svg02
Version published
Weekly downloads
276
-62.85%
Maintainers
4
Weekly downloads
 
Created
Source

designsystem-react

👋 Introduction

TODO: Add introduction text

🚀 Quick start

To install and use our React components simply run the following commands in your favorite terminal:

yarn

yarn add @helsenorge/designsystem-react

npm

npm install @helsenorge/designsystem-react

Usage example

This is example takes basis in the file App.tsx/js from the out-of-the-box project using CRA.

import React from 'react';
import logo from './logo.svg';
import './App.css';

import {CommonButton} from '@helsenorge/designsystem-react';

const App: React.FC = () => {
  return (
    <div className="App">
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        <p>
          Edit <code>src/App.tsx</code> and save to reload.
        </p>
        <a className="App-link" href="https://reactjs.org" target="_blank" rel="noopener noreferrer">
          Learn React
        </a>
      </header>
      <CommonButton>Hello world!</CommonButton>
    </div>
  );
};

export default App;

📓 Documentation

A more detailed getting started manual can be viewed here. For a full overview of all the available components and their specification, head over here

To read the full design system documentation head over to our web page Helsenorge Design. Here you can read about our use of design principles, design language, patterns, compositions, live code examples and techincal component specifications.

Keywords

components

FAQs

Package last updated on 30 Sep 2020

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