Coder Social home page Coder Social logo

vscode-react-icons-snippets's Introduction

β›” DEPRECATION NOTICE

β›” This extension has been deprecated and is no longer being maintained.

React-Icons Snippets

This extension includes 54,168 React-Icons snippets for VS Code.

Build apps with 18,056 iconsβ€”across multiple icon librariesβ€”all at your fingertips.

This extension supports:

  • πŸ”£ All react-icons icons. The complete picture.
  • πŸ“¦ import snippets, including all-files imports, for quick and easy importing.
  • πŸ—ƒοΈ Libraries organized using a prefix, such as ri:fa for Font Awesome or ri:im for IcoMoon.

Just type ri and press Ctrl+Space for autocompletion. VS Code will autocomplete the icon you need.

Use a library prefix to filter by library. For example, ri:fa:book, ri:im:user, ri:wi:cloud, etc.

Demo

Read below for more information.

πŸ“š Supported languages (file extensions)

  • JavaScript (.js)
  • JavaScript React (.jsx)
  • TypeScript (.ts)
  • TypeScript React (.tsx)

πŸ“– Snippets

All snippets start with ri for React-Icons, followed by the icon library prefix.

There are 54,168 snippets available for icons and imports. Read more on each below.

Library Prefixes

Icons are grouped by library using a prefix. See the table below for the prefix to use:

Library Prefix # Icons
Ant Design Icons ai 788
Bootstrap Icons bs 668
BoxIcons bi 738
css.gg cg 704
Devicons di 192
Feather fi 286
Flat Color Icons fc 329
Font Awesome fa 1559
Game Icons gi 3786
Github Octicons Icons go 184
Grommet-Icons gr 562
Heroicons hi 452
IcoMoon Free im 491
Ionicons 4 io4 696
Ionicons 5 io5 1300
Material Design Icons md 959
Remix Icon ri 2172
Simple Icons si 1316
Typicons ti 336
VS Code Icons vsc 319
Weather Icons wi 219

Icon Component Snippets

All react-icons components are supported.

For example, ri:fa:book, ri:im:user, ri:wi:cloud, etc.

The React Icons website has a searchable directory of all available icons.

Import Snippets

Component import snippets are available for all react-icons components.

All import snippets begin with ri:import.

For example, ri:import:fa:book will import FaBook from Font Awesome via the statement: import { FaBook } from 'react-icons/fa';.

Import snippets are also available for all-files, and these snippets all end with :all-files.

For example, ri:import:fa:book:all-files will import FaBook from Font Awesome via the statement: import { FaBook } from '@react-icons/all-files/fa/FaBook';.

Imports

You Might Also Like...

Release Notes

[1.0.0] - 2021-06-07

  • Initial release of React-Icons Snippets.

[1.0.1] - 2021-06-07

  • Add gifs, update docs.

[1.0.2] - 2021-06-07

  • Refactor import prefixes. Update docs.

[1.0.3] - 2021-06-07

  • Update gifs, description, and docs.

[1.0.4] - 2021-06-07

  • Update docs.

[1.0.5] - 2023-01-11

  • Extension deprecated and no longer being maintained.

vscode-react-icons-snippets's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

arcuo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.