Comments (1)
Hey, thanks for the suggestion! I have also experienced that it might feel a bit cumbersome to change out the imported icons quickly.
Iād recommend this import style if you want a quick developer experience:
import * as Icons from "@modulz/radix-icons"
function MyComponent () {
return <Icons.LayersIcon />
}
This enables code editor autocompletion as you type the icon name and will work out better with TypeScript in case we introduce size or variant props for certain icons.
from icons.
Related Issues (20)
- Request: Sparkles Icon HOT 3
- Feature Suggestion: Radix Icons Site - On icon click, default to copy icon name instead of svg, or give options
- Request: Phone icon HOT 1
- Update Icon Following the Release of Twitter(X)'s Brand Toolkit HOT 3
- Request: printer icon HOT 7
- Request: funnel icon HOT 3
- Blurry icons HOT 1
- Request: Microphone icon HOT 1
- Request: thumb up, thumb down
- Request: YouTube Icon
- Cursor does not change to pointer on hover over copy-to-clipboard icon
- React icons jsx typescript issue
- Request: Bug icon
- Request: Music Note Icon
- Request: Pipette icon
- Request: numbered list icon
- Request: Allow to change stroke-width HOT 2
- Request: mastodon icon on logo
- Twitter Logo Update to X HOT 1
- Add icons for payments and finances HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icons.