ohana-design-system
TypeScript icon, indicating that this package has built-in type declarations

1.0.82 • Public • Published

Uniqode logo

Ohana Design System

What is Ohana Design System

Ohana is Uniqode's inbuilt library for using our components in marketing pages

Setup

To begin developing the design system locally, run the following from the repository's root directory:

To install all the dependencies

$ npm install or npm i

To run Storybook

$ npm run storybook

How to use the components ?

To start using components you can

  • Import components from "ohana-design-system"
  • Add the component in the page you want to use
  • Give relevant data to the component

For example, to use breadcrumb refer the code below:

import { Breadcrumb } from 'ohana-design-system';

const breadcrumbData = [
    { label: 'Home', link: '/' },
    { label: 'QR Code generator', link: '/qr-code-generator' },
    {
        label: 'QR code on websites',
        link: '/how-to-get-a-qr-code-for-a-website',
    },
];

const Page = () => {
    return <Breadcrumb breadcrumbData={breadcrumbData} />;
};

export default Page;

Readme

Keywords

none

Package Sidebar

Install

npm i ohana-design-system

Weekly Downloads

102

Version

1.0.82

License

none

Unpacked Size

19.3 MB

Total Files

480

Last publish

Collaborators

  • hackers-mobstac