j471n.in
react-icons
j471n.in | react-icons | |
---|---|---|
7 | 91 | |
135 | 11,082 | |
- | 1.0% | |
8.3 | 8.1 | |
3 months ago | 3 days ago | |
TypeScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
j471n.in
-
My VS Code setup
Website
-
How to use Google Analytics Data API
In my portfolio, I have just implemented Google Analytics Data API so that I can show how many people have visited this site in the last 7 days. As my Portfolio is already using Google Analytics to track user visits. I just need to use its API to fetch that data.
-
Noob question: where to store and how to import static datasets?
The live app, for reference.
-
How to Access Local Sever on Other Devices
Twitter Github Instagram Newsletter LinkedIn Website Buy me a Coffee
-
How I Made My Portfolio with Next.js
/* Filename : layout/BlogLayout.js */ import { AvatarImage } from "../utils/utils"; // =========> not created import Image from "next/image"; import styles from "../styles/Blog.module.css"; // =========> not created import ShareOnSocialMedia from "../components/ShareOnSocialMedia"; // =========> not created import { FiPrinter } from "react-icons/fi"; import { TbEdit } from "react-icons/tb"; import Newsletter from "../components/Newsletter"; // =========> not created import Link from "next/link"; import useWindowLocation from "@hooks/useWindowLocation"; import ScrollProgressBar from "@components/ScrollProgressBar"; // =========> not created import { stringToSlug } from "@lib/toc"; // =========> not created import { useState, useEffect } from "react"; import { lockScroll, removeScrollLock } from "@utils/functions"; // =========> not created import useWindowSize from "@hooks/useWindowSize"; // =========> not created import { FadeContainer, opacityVariant } from "@content/FramerMotionVariants"; import AnimatedHeading from "@components/FramerMotion/AnimatedHeading"; import AnimatedDiv from "@components/FramerMotion/AnimatedDiv"; import useBookmarkBlogs from "@hooks/useBookmarkBlogs"; import { BsBookmark, BsBookmarkFill } from "react-icons/bs"; import useScrollPercentage from "@hooks/useScrollPercentage"; export default function BlogLayout({ post, children }) { const { currentURL } = useWindowLocation(); const [isTOCActive, setIsTOCActive] = useState(false); const [alreadyBookmarked, setAlreadyBookmarked] = useState(false); const scrollPercentage = useScrollPercentage(); const size = useWindowSize(); const { isAlreadyBookmarked, addToBookmark, removeFromBookmark } = useBookmarkBlogs("blogs", []); useEffect(() => { // In Case user exists from mobile to desktop then remove the scroll lock and TOC active to false if (size.width > 768) { removeScrollLock(); setIsTOCActive(false); } }, [size]); useEffect(() => { setAlreadyBookmarked(isAlreadyBookmarked(post.meta.slug)); }, [isAlreadyBookmarked, post.meta.slug]); return ( {/* TOC */}
95 ? "xl:-left-full" : "xl:left-0" } md:left-0 md:opacity-100 md:max-w-[35%] lg:max-w-[30%] transition-all duration-500 flex flex-col gap-1 !pb-[100px] overflow-y-scroll p-10 md:p-14 h-screen fixed w-full font-barlow bg-darkWhite dark:bg-darkPrimary text-neutral-800 dark:text-gray-200 z-50 `} > Table of Contents AnimatedHeading> {post.tableOfContents.map((content) => { return ( { if (size.width < 768) { lockScroll(); setIsTOCActive(false); } setIsTOCActive(false); removeScrollLock(); }} > {content.heading} a> Link> ); })} AnimatedDiv> div> { setIsTOCActive(!isTOCActive); lockScroll(); }} className="md:hidden w-full py-2 font-medium bg-black dark:bg-white text-white dark:text-black fixed bottom-0 outline-none z-50" > Table of Contents button> {/* Progress Bar */} {/* Blog Front Matter & Author */}{post.meta.title} h1>
{ alreadyBookmarked ? removeFromBookmark(post.meta.slug) : addToBookmark(post.meta); }} > {alreadyBookmarked ? ( ) : ( )} button> div> div> {/* Main Blog Content */} {children} AnimatedDiv> {/* NewsLetter */} {/* Share Blog on Social Media */}div>Jatin Sharmaspan> •span> {post.meta.stringDate}span> p>
{post.meta.readingTime.text}span> •span> {post.meta.readingTime.words} wordsspan> p> div> div>
a> Link>Share on Social Media: h3> {/* Print the Blog */}
window.print()} /> div> ShareOnSocialMedia> div> section> section> ); }
react-icons
- Squeezing more performance out of your Nextjs App
-
The 20 most used React libraries
react-icons: Quickly integrate a variety of icons into your React app. Learn more
-
Free Icons for your reactjs and web applications
3. React Icons
-
Building the Play Button
We make use of react-icons to display the play and pause indications.
-
Icons used by existing apps
If you're using React, I can recommend this: https://react-icons.github.io/react-icons/
-
Complete React and Tailwind CSS Website Design Tutorial | Build an Educational Landing Page
Links to external resources like Tailwind CSS, Google Fonts, and React Icons are provided, offering additional references for users.
-
Construindo um Painel de Blog Dinâmico com Next.js
react-icons - lib de icones para react.
-
Building with React JS: Create your own Youtube Video Player: Starting with Basics
As you can observe, here we again make use of style-components to create a container for the underlying icon. Also, we make use of the react-icons that provide a react wrapper for icons from various providers. Here we make use of the icons from the HeroIcons2 provider hence we import it from hi2 from the react-icons
-
Unveiling the Effects of Icons on Website Performance
As you can observe, the homepage consists of a few text elements and a navigation bar adorned with icons. To achieve this, I employed Material-UI (MUI) and React Icons. However, there's a noticeable hiccup - the page, ideally, should load swiftly, but instead, it's a bit sluggish. Even more concerning, it's transferring more data than anticipated.
-
Icon Buddy – 100K+ Open Source SVG Icons, Fully Customizable
Similar concept to react-icons (https://react-icons.github.io/react-icons/)in that regard.
What are some alternatives?
karngyan.com - Dark themed, SEO friendly: Nuxt Content + TailwindCSS + Firebase + i18n + RSS2 based SPA for procrastinating developers to quickly spin up their own kickass blog and showcase their projects.
iconify-react - Iconify icon component for React
personal-website - My portfolio and blog page build in NextJs
heroicons - A set of free MIT-licensed high-quality SVG icons for UI development.
portfolio-blog - This is a Next.js personal portfolio/blog site where a site owner can showcase their work and experiences.
material-design-icons - Material Design icons by Google (Material Symbols)
duncan.land - ✨ My personal website. Built using Next.js and deployed on Vercel.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
blogstack - 📡 Decentralized blogs over relay using nostr w/ ⚡ lightning tips
Tailwind CSS - A utility-first CSS framework for rapid UI development.
globby - User-friendly glob matching
react-emoji - An emoji mixin for React