@highoutput/hds-experimental
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @highoutput/hds-experimental

Weekly Downloads

1

Version

0.1.9

License

MIT

Unpacked Size

22.3 kB

Total Files

19

Last publish

Collaborators

  • ccpacillos
  • rrmadjos
  • glvnzn
  • highoutputventures
  • highoutputdev
  • calvojp
  • boniqx09