@sukhoi-ui/components
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Indroduction

Sukhoi-ui component is a collection of React components tailwindcss that helps you build your own design system.

Documentation

Visit https://sukhoin-storybook.online for documentation.

Installation

npm install @sukhoi-ui/styles @sukhoi-ui/components
yarn add @sukhoi-ui/styles @sukhoi-ui/components

Configuration

tailwind.config.js

const { withSukhoi } = require("@sukhoi-ui/components/config");

/** @type {import('tailwindcss').Config} */
module.exports = withSukhoi({
  content: ["../styles/**/*.{js,jsx,ts,tsx}"],

  // Toggle dark-mode based on data-mode="dark"
  darkMode: ["class", '[data-mode="dark"]'],
  theme: {
    extend: {},
  },
  plugins: [],
});

Package Sidebar

Install

npm i @sukhoi-ui/components

Weekly Downloads

5

Version

2.0.2

License

MIT

Unpacked Size

2.33 MB

Total Files

1900

Last publish

Collaborators

  • nantanon