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

1.1.17 • Public • Published

WDS v1.0 will be coming 🎉 Read the Latest Release notes

Wishket Design System

Wishket Design System (WDS) is the design concept system for Wishket products.

Package version Downloads per month



Features

  • Steady Components. Frequently used Components based on the Atomic Design Pattern.
  • Storybook. You can explore the components in Storybook.

Getting Started

1. Install

yarn add @wishket/design-system

or

npm install @wishket/design-system

or

pnpm add @wishket/design-system

2. Setting in tailwind.config.ts

// tailwind.config.ts
import path from 'path';
import type { Config } from 'tailwindcss';

const config: Config = {
  content: [
    './src/app/**/*.{js,ts,jsx,tsx,mdx}',
    path.join(path.dirname(require.resolve('@wishket/design-system')), '**/*.{js,ts,jsx,tsx,mdx}'),
  ],
  presets: [require('@wishket/design-system/dist/config/tailwind.config')],
  plugins: [],
};
export default config;

Usage

//Home.tsx
import { Typography } from '@wishket/design-system';

export const Home  = () => {
  return (
      <Typography variant="title1" className='bg-w-cyan-500'>Hello, World!</Typography>
  );
}

export default Home;

Readme

Keywords

none

Package Sidebar

Install

npm i @wishket/design-system

Weekly Downloads

1,658

Version

1.1.17

License

MIT

Unpacked Size

753 kB

Total Files

789

Last publish

Collaborators

  • wishket-dev