
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
anjrot-components
Advanced tools
This project is a React component library created for a YouTube tutorial. It demonstrates how to build reusable UI components using React, TypeScript, and Tailwind CSS.
This project is a React component library created for a YouTube tutorial. It demonstrates how to build reusable UI components using React, TypeScript, and Tailwind CSS.
This project was created as part of a YouTube tutorial. To learn how to build your own React component library step-by-step watch the video.
npm install
npm run storybook
To use this library in another project, follow these steps:
Add the library to your project as a dependency using npm or yarn:
npm install anjrot-components
# or
yarn add anjrot-components
To use this library in your project, make sure Tailwind CSS processes the classes in the components provided by the library. Add the following line to the content
section of your tailwind.config.js
:
content: ["./node_modules/anjrot-components/**/*.{js,ts,jsx,tsx}"],
Now you can import and use components from the library in your project. For example:
import { Button, Input, Stack } from "anjrot-components";
export default function MyComponent() {
return (
<div>
<Button onClick={() => alert("Clicked!")}>Click Me</Button>
<Input placeholder="Enter your text here" />
<Stack gap={4}>
<div>Item 1</div>
<div>Item 2</div>
</Stack>
</div>
);
}
Restart your development server after making these changes to ensure Tailwind CSS processes the classes correctly.
This library includes the following components:
Each component has its own story for Storybook, allowing you to view and interact with the components in isolation.
For detailed documentation on each component, please refer to the individual component files in the src
directory.
We welcome contributions! Please see our CONTRIBUTING.md for details on how to contribute to this project.
This project is licensed under the LICENSE file in the root directory of this project.
For a detailed list of changes and version updates, please refer to our CHANGELOG.md.
Thank you to all the contributors who have helped make this project possible!
Will use this Library for our newest Video Tutorials.
Trigger upgrade version
Made with β€οΈ for the YouTube community
FAQs
This project is a React component library created for a YouTube tutorial. It demonstrates how to build reusable UI components using React, TypeScript, and Tailwind CSS.
The npm package anjrot-components receives a total of 14 weekly downloads. As such, anjrot-components popularity was classified as not popular.
We found that anjrot-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
Weβre excited to announce a powerful new capability in Socket: historical data and enhanced analytics.