0.2.10 • Published 7 months ago
@reket/ui v0.2.10
@reket/ui
REKET UI Library Based on React and Tailwind CSS
📦 Install
// with npm
npm install @reket/ui
// with yarn
yarn add @reket/ui✔️ How to use
import { Button } from '@reket/ui';
const YourComponent = () => {
return <Button text="Button Text" color="purple" size="xl" option="filled" />;
};📒 Storybook
Link
REKET UI Storybook Page
Code Snippets
To create a Storybook file quickly, you can use this snippet:
- Make a new file called
ComponentName.stories.tsx. - In that file, write "storybook".
- Then, the code below will be added to the file automatically:
import type { Meta, StoryObj } from '@storybook/react';
import { ComponentName } from './ComponentName';
import { generateDocsIntro } from '../../../utils/storybook/docsHelper';
// Update the import path based on this component's location
const meta: Meta<typeof ComponentName> = {
component: ComponentName,
title: 'Component/ComponentName',
parameters: {
docs: {
description: {
component: generateDocsIntro('ComponentName'),
},
},
},
argTypes: {},
};
export default meta;
type Story = StoryObj<typeof ComponentName>;
export const Default: Story = {
args: {},
};0.2.10
7 months ago
0.2.1
9 months ago
0.2.0
9 months ago
0.2.7
8 months ago
0.2.6
8 months ago
0.2.9
7 months ago
0.2.8
7 months ago
0.1.9
9 months ago
0.2.3
8 months ago
0.2.2
9 months ago
0.2.5
8 months ago
0.2.4
8 months ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago