@crhis/growth-system-design
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Getting started

This library is built in top of tailwindcss and flowbite-react

Setup Tailwind CSS

Install Tailwind CSS:

npm i @crhis/growth-system-design
yarn add @crhis/growth-system-design

Try it out

How you use Growth system design depends on your project setup. In general, you can just import the components you want to use from @crhis/growth-system-design and use them in a React .jsx file:

import { Stack } from '@crhis/growth-system-design';

export default function MyPage() {
  const args = {
    as: 'div',
    width: 100,
    justifyContent: 'space-between',
    direction: 'column',
    height: 40,
  };
  return (
    <Stack {...args}>
      {Array.from({ length: 12 }).map((_, index) => (
        <div key={index}>
          <Button label={`Button ${idx + 1}`} />
        </div>
      ))}
    </Stack>
  );
}

Readme

Keywords

none

Package Sidebar

Install

npm i @crhis/growth-system-design

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

1.39 MB

Total Files

160

Last publish

Collaborators

  • crhis