99.10.0 • Published 4 years ago

@temporg/ui-navigation v99.10.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

category: packages

ui-navigation

npm  build-status  MIT License  Code of Conduct

Main and application level navigational components.

Components

The ui-navigation package contains the following:

Installation

yarn add @temporg/ui-navigation

Usage

import React from 'react'
import { Navigation } from '@temporg/ui-navigation'
import { Avatar } from '@temporg/ui-avatar'

const MyNavigation = () => {
  return (
    <Navigation label="My Navigation">
      <Navigation.Item
        icon={<Avatar name="Joel Andrews" size="x-small" />}
        label="My Account"
        href="http://example.com"
      />
    </Navigation>
  )
}

For detailed usage and documentation, see individual component examples.