Socket
Book a DemoInstallSign in
Socket

@dasa-health/components-react

Package Overview
Dependencies
Maintainers
5
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dasa-health/components-react

⚛️ Dasa Design System - React Components

latest
npmnpm
Version
0.3.4
Version published
Maintainers
5
Created
Source

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>
  )
}

Keywords

React

FAQs

Package last updated on 14 Feb 2022

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