Welcome to the comprehensive guide on how to integrate and use the RDS Icons in your Vue.js projects. In this post, we'll walk you through the steps to get started with RDS-icons, from installation to usage, ensuring a smooth integration process.
RDS-icons is a powerful and flexible icons design system built with Vue.js, aimed at providing a consistent and efficient way to develop user interfaces. With a collection of reusable components and styles, RDS-icons helps streamline your development process, ensuring your applications have a cohesive look and feel.
RDS Icons are packaged up and published to npm. We only include the processed SVGs in this package-it's up to you and your team to implement. Read our docs for usage instructions.
The iconography we use in RDS simplifies user interaction with the system, as it allows elements to be more easily identified. Furthermore, it allows users to more easily understand the layout components, reducing the learning curve on the interface.
The journey of @aherrahul/rds-icons started as a side project focused on providing developers with a flexible icon solution. By 2023, it grew into a comprehensive package, expanding to support the icon needs of modern web applications.
In 2022, I began experimenting with custom icon libraries after noticing the limitations and frustrations of using traditional icon fonts. Icon fonts, while popular, were restrictive and limited to the icons included in the set. Using multiple icon fonts increased load times, and customization options were often inadequate. This sparked the idea of @aherrahul/rds-icons, aiming to overcome these challenges.
The purpose of @aherrahul/rds-icons is to provide developers with a vast selection of customizable icons while minimizing vendor lock-in. This package allows you to:
Before you begin, make sure you have the following installed:
To use RDS in your Vue.js project, you first need to install it via npm. Open your terminal and run the following command:
npm install @aherrahul/rds-icons
Alternatively, if you prefer using Yarn, you can run:
yarn add @aherrahul/rds-icons
Once the installation is complete, you need to import RDS into your Vue.js project. This can be done in your main JavaScript file (usually main.js or main.ts).
import { completeIconSet } from '@aherrahul/rds-icons/dist';
RDS implements a component-shaped wrapper for RDSIcons icons . Any maintenance or improvements must be made to the respective project and design kit in Figma and, if necessary, updated here.
<rds-icon
name="box-outline"
height="40"
width="40"
color="#36424E"
></rds-icon>
To contribute to RDS Icons, follow these steps:
svg-icons
RDS Icons directory.run build:library
to build the package.npm publish
.Note: to use the new icons in RDS, simply update the RDS Icons version in RDS's package.json and add the names of the new icons to the file iconsData.js
.
Moving forward, I plan to enhance the package with additional icon sets, improved framework support, and better customization tools. This growth will be driven by community feedback and support. Contributions from users are welcomed, as they play an essential role in refining and expanding the library.
@aherrahul/rds-icons is fully open-source, inviting developers to contribute and improve the project. This approach fosters collaboration and helps ensure the package meets the needs of the community.
If you're using @aherrahul/rds-icons, your feedback is always appreciated! Consider joining the community, offering suggestions, or contributing to the codebase. Every bit of support helps in expanding and enhancing the package, ultimately benefiting developers everywhere.
Integrating RDS into your Vue.js project is a straightforward process that can greatly enhance your development workflow. With its reusable components and consistent design language, RDS helps you build polished and professional applications efficiently. Demo project/Starter-pack
We hope this guide helps you get started with RDS. If you have any questions or feedback, feel free to leave a comment below or reach out to us on GitHub.
Thank you for choosing @aherrahul/rds-icons for your icon needs. I look forward to seeing how you use it in your projects!
Happy coding!
Thank you so much for reading. If you found it valuable, consider subscribing for more such content every week. If you have any questions or suggestions, please email me your comments or feel free to improve it.