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

0.4.3 • Public • Published

Richard X Component Library

This is my personal components library I use built on DaisyUI with react components. Feel free to use or contribute to it!

If you use tailwind (tailwind.config.js):

const colors = require('tailwindcss/colors');

module.exports = {
  content: ['./node_modules/@richardx/components/dist/**/*.js'],
  theme: {
    extend: {
      colors: {
        THEME: colors.YOUR_COLOR,
      },
    },
  },
  plugins: [require('daisyui')],
};

Global style:

import '@richardx/components/dist/styles.css';

If you don't:

// app.tsx
import '@richardx/components/dist/tailwind.css';

Dependents (0)

Package Sidebar

Install

npm i @richardx/components

Weekly Downloads

3

Version

0.4.3

License

MIT

Unpacked Size

207 kB

Total Files

94

Last publish

Collaborators

  • richardx