1.0.3 β€’ Published 2 years ago

yummy-design-component v1.0.3

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

Yummy Design Component (TS)

Hi! You can create website or app with this library. Before using this, look through Storybook.

πŸ“š Storybook

Get started!

βœ… 1. Install this library.

npm

npm i yummy-design-component

yarn

yarn add yummy-design-component

βœ… 2. Import components into your file.

import { Container } from 'yummy-design-component';
import { FlexContainer } from 'yummy-design-component';
import { FlexItem } from 'yummy-design-component';
import { Grid } from 'yummy-design-component';

βœ… 3. Use it like this!

// Header.tsx

const Header = () => {
  return (
    <FlexContainer tag="header" layout="centerLeft" columnGap={12} px={16}>
      <h1 css={{ fontWeight: 600, fontSize: 16 }}>LOGO</h1>
      <nav>
        <FlexContainer tag="ul" columnGap={12}>
          {Array.from({ length: 4 }, (_, index) => (
            <li>
              <a href={`/MENU${index}`} key={index}>
                MENU{index + 1}
              </a>
            </li>
          ))}
        </FlexContainer>
      </nav>
      <button type="button" aria-label="login" css={{ marginLeft: 'auto' }}>
        LOGIN
      </button>
    </FlexContainer>
  );
};

Development Environment

  • react (with vite)
  • typeScript
  • emotion

Browser Support

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago