0.1.9 • Published 1 year ago

@highoutput/hds-experimental v0.1.9

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Getting started

We aim to build a library of custom ReactJS components that implements our unique UI design conventions. The ReactJS components will be based primarily on Chakra UI components. React Storybook will be used for documentation and testing.

Commands

To install package, use:

npm i @highoutput/hds-expiremental

Usage

// layout.tsx
import { Navbar } from "@highoutput/hds-expiremental";
import * as React from "react";
import { Box } from "@chakra-ui/react";
import Link from "next/link";

export default function Layout({ children }: React.PropsWithChildren) {
  return (
    <Box minHeight="100vh">
      <Navbar>
        <Link href="/">
          <Heading as="h2">Logo</Heading>
        </Link>

        <Box as="nav" role="navigation">
          <Flex as="ul" gap={2}>
            <li>
              <Link href="/">About</Link>
            </li>
            <li>
              <Link href="/services">Services</Link>
            </li>
            <li>
              <Link href="/blog">Blog</Link>
            </li>
            <li>
              <Link href="/contact">Contact</Link>
            </li>
          </Flex>
        </Box>
      </Navbar>

      <Box as="main">{children}</Box>
    </Box>
  );
}
0.1.8

1 year ago

0.1.9

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago