@dasa-health/components-react
TypeScript icon, indicating that this package has built-in type declarations

0.3.4 • Public • Published

Nav UI Kit

Alt text

Introduction

The Nav UI Kit is a library containing specific resources to develop a Nav application. At this document you will find all the colors and its uses, the typography, sizes of string and the components to compose a layout.

Installing

At first you should install the design system into your project and wrap up the theme provider into your application, to serve all the design tokens to the components.

yarn install @dasa-health/components-react
// Wrapping up on index.js of a CRA as an example

import { DasaProvider } from '@dasa-health/components-react'

export const App = () => {
    return (
        <DasaProvider>
            <Application />
        </DasaProvider>
    )
}

With the setup applied you may use a component into your application, in all the levels below of the DasaProvider.

//
import { SquareAvatar } from "@dasa-health/components-react"

export const Sidebar = () => {
  return (
      <RoundedAvatar name="Diego Alves Nunes" size="32" />
    </div>
  )
}

Package Sidebar

Install

npm i @dasa-health/components-react

Weekly Downloads

68

Version

0.3.4

License

ISC

Unpacked Size

1.19 MB

Total Files

9

Last publish

Collaborators

  • felipe.silva.devtech
  • nav.mobile
  • lucasrusso95
  • allan.pinheiro
  • marcoaure