score:0
taken from https://www.carbondesignsystem.com/guidelines/icons/code/#usage
icons in this package support the following sizes: 16, 20, 24, and 32 pixels. these sizes refer to the width and height of the icon. you can import an icon component into your project by referring to its name and size:
import { add24 } from '@carbon/icons-react';
meaning, you should try import the icon with the size you wish to use. in the example above, they are using the 24px version of add
icon so they import add24
Source: stackoverflow.com
Related Query
- How to change Carbon Design System Icon Size? React
- How to change icon size on Alert in Material UI for React
- How to change name and Icon of Action Column in Material-Table React
- How to change Cursor Icon upon button click on React
- How can I change the icon in material-ui date picker for React
- How to change default sorting icon on table header column on React Material-Table?
- how to change icon in ant design collapse (Accordian)
- How to dynamically change button size and color in React
- React ant design Tab icon change different status
- How to change the size of svg icon in React?
- How to change Title icon in semantic UI React Accordion
- How to change the position of a free action icon in react material-table
- React Js - How to change URL when clicking on ant design stepper?
- How can I change font size of pagination part in material table using react js?
- How to add or remove a className when screen size change in react
- How to change icon position of semantic-ui react Accordion?
- How can I set icon size in react
- How can I change the font size for a <h1> in react bootstrap col?
- How to change React parent component size based on child component size without rendering child component?
- How to change icon while also doing a changeTheme with onClick in react js?
- How to change the color of the calendar icon of the TextField date-picker? In Material-UI React
- How to set colors in react carbon design chart
- How to increase Antd Collapse icon size and change it if collapse is expanded
- React - Ant Design change default filter icon in table to material icon
- How can i change a state in react when I change the size of website?
- REACTJs: How to change color and size of edit and delete icon in Material-Table?
- How to change the Icon when clicking on it in react
- How to change fontSize in react icon using styled components
- How to change window.scrollY listener based on screen size React
- How to change size of React component?
More Query from same tag
- How to get element's height and then use it to set another element's height
- Trying to make a reuseable DataGrid component with my own defaults from ReactDataGrid, but Typescript giving me errors
- React Does Not Creat App Mistake. How Do I Solve?
- Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined... issue
- How use id in URL axios post method react?
- Handling state when making multiple function calls in React with hooks as a parameter
- How to tell if a user is logged in with http only cookies and JWT in react (client-side)
- Create table with table heading using json in react
- How do you share state in a micro-frontend scenario?
- How do I get the normal photo?
- react redux: still getting empty object for this.props when using Connect for mapStateToProps and mapDispatchToProps
- React Material Table : onRowAdd not refreshing
- Redux-Thunk - Async action creators Promise and chaining not working
- How to set State in React for different scenarios based on the data that is available?
- Dynamically generated object property undefined
- Trouble with react routing
- Where can i find react components installed using npm?
- Fetching data by id React + Flask
- Axios get request is in infinite loop
- Cannot read property 'length' of undefined in reactjs
- new line not registered in docx.js
- TypeScript Property 'selected' does not exist on type '{ id: string; value: string; label: string; color: string; }'.ts(2339)
- Unable to store and retrieve the state from redux store
- How do I color Devanagiri diacritics in ReactJS?
- How to click on markers in Google-Map-React?
- not getting updated state value in react using hooks?
- How to pass in an event object to an onchange handler in typescript?
- Getting session cookie data on initial page load following a redirect from a server (Node and React)
- how to check if my graphql server is down
- using relative addressing for API inside Axios request