1.5.1 • Published 11 months ago
@tastit/ui-kit v1.5.1
Tastit UI-KIT
Tech:
- Next typescript
- tailwind
How to use it?
npm install @tastit/ui-kit- update your tailwind configuration file
tailwind.config.js:
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
'./node_modules/@tastit/ui-kit/src/**/*.{js,ts,jsx,tsx}',
],
presets: [require('@tastit/ui-kit/tailwind.config.js')],
};- import the global css in you main tsx file (
main.tsxorApp.tsx):
import '@tastit/ui-kit/src/global.css';- use the components:
import { Button } from '@tastit/ui-kit';Contribute
You can add global CSS in src/global.css.
How to clean code
- use tailwind alias to avoid long
classNamestring - create react function component:
export function Button(props: ButtonProps) {}- or
export const Button = (props: ButtonProps) => {}
- or
- create one folder per component with
- component
- unit tests
- storybook stories
1.6.0-next.2
11 months ago
1.6.0-next.1
11 months ago
1.5.1
11 months ago
1.5.0
11 months ago
1.5.1-next.1
11 months ago
1.5.0-next.1
11 months ago
1.4.0-next.9
11 months ago
1.5.0-next.2
11 months ago
1.4.0-next.6
11 months ago
1.4.0-next.7
11 months ago
1.4.0-next.8
11 months ago
1.4.0-next.5
12 months ago
1.4.0-next.3
12 months ago
1.4.0-next.4
12 months ago
1.4.0-next.2
12 months ago
1.4.0-next.1
1 year ago
1.4.0
1 year ago
1.3.0-next.13
1 year ago
1.3.0-next.12
1 year ago
1.3.0-next.11
1 year ago
1.3.0
1 year ago
1.3.0-next.10
1 year ago
1.3.0-next.9
1 year ago
1.3.0-next.8
1 year ago
1.3.0-next.7
1 year ago
1.3.0-next.6
1 year ago
1.3.0-next.5
1 year ago
1.3.0-next.4
1 year ago
1.3.0-next.3
1 year ago
1.3.0-next.2
1 year ago
1.3.0-next.1
1 year ago
1.2.0
1 year ago
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.0
1 year ago
0.0.0-development
1 year ago
0.0.0
1 year ago