Skip to content

bring/hedwig-react

Repository files navigation

⚠️ DEPRECATED

The new Hedwig Design System is now stable and can be found here. This repository will be minimally maintained.

hedwig-react

Hedwig react components

NPM JavaScript Style Guide

Install

npm install @posten/hedwig-react

Icons

We are using icons from Font Awesome Pro wich requires you to obtain a licence. The auth token from your licence will need to be added to an environment variable. For Posten and Bring developers, please contact the Hedwig contributors for this token. For other users, a licence can be obtained here

export NPM_TOKEN=[your auth token]

Styling

Our components are functional components only, so you will still have to import fonts and styling

<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@posten/hedwig@{version}/assets/fonts.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@posten/hedwig@{version}/dist/{posten/bring}.css">

Usage

import { Badge } from '@posten/hedwig-react'

<Badge>Hello world</Badge>

License

MIT © Bring

About

Posten and Bring Design System - React library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published