PrimeReact React UI Component Library
PrimeIcons is the default icon library of PrimeReact.
PrimeIcons is the default icon library of PrimeReact.
PrimeIcons is available at npm, run the following command to download it to your project.
npm install primeicons CSS file of the icon library needs to be imported in your application.
import ‘primeicons/primeicons.css’; PrimeIcons library is now available on Figma Community. By adding them as a library, you can easily use these icons in your designs.
PrimeIcons use the pi pi-{icon} syntax such as pi pi-check. A standalone icon can be displayed using an element such as i or span
<i className=“pi pi-check”></i> <i className=“pi pi-times”></i> <span className=“pi pi-search”></span> <span className=“pi pi-user”></span> Size of an icon is controlled with the fontSize property of the element.
<i className=“pi pi-check” style={{ fontSize: ‘1rem’ }}></i> <i className=“pi pi-times” style={{ fontSize: ‘1.5rem’ }}></i> <i className=“pi pi-search” style={{ fontSize: ‘2rem’ }}></i> <i className=“pi pi-user” style={{ fontSize: ‘2.5rem’ }}></i> Icon color is defined with the color property which is inherited from parent by default.
<i className=“pi pi-check” style={{ color: ‘slateblue’ }}></i> <i className=“pi pi-times” style={{ color: ‘green’ }}></i> <i className=“pi pi-search” style={{ color: ‘var(–primary-color)’ }}></i> <i className=“pi pi-user” style={{ color: ‘#708090’ }}></i> Special pi-spin class applies infinite rotation to an icon.
<i className=“pi pi-spin pi-spinner” style={{ fontSize: ‘2rem’ }}></i> <i className=“pi pi-spin pi-cog” style={{ fontSize: ‘2rem’ }}></i> Constants API is available to reference icons easily when used programmatically.
- File
- New
- Open
import React from ‘react’; import { Menu } from ‘primereact/menu’; import { PrimeIcons } from ‘primereact/api’; export default function ConstantsDemo() { const items = { label: ‘File’, items: { label: ‘New’, icon: PrimeIcons.PLUS }, { label: ‘Open’, icon: PrimeIcons.DOWNLOAD } } ; return ( <Menu model={items} /> ) } Here is the full list of PrimeIcons. More icons will be added periodically and you may also request new icons at the issue tracker.
FAQ
What are the rewards for DoubleDown Casino?
Play DoubleDown Casino Daily for Free Casino Chips Higher tiers will receive more free chips and free spins from monthly loyalty emails and mobile notifications, and they will also enjoy more VIP Vouchers for chip purchases, more daily gift redemptions, and higher Daily Wheel values.
How to get free chips on DoubleDown?
The DDC is an internal system developed by the University of Minnesota Chemical Waste Registry Searchable Database to classify substances through a two-part designation code: the Hazard Class and the Disposal Type. For example, if a substance has a DDC of 02LI then it is a liquid inorganic acid.
How to get free chips in DoubleDown Casino?
Wait for chips to arrive?? Did you get the free chips from the link posted? First, close the game, then click on one of the chip-redemption links from your phone. The game should automatically load up and tell you whether or not you got the chips. Rinse and repeat.18 Apr 2021
How to get free chips for DoubleDown casino on iPad?
Posts on Facebook are will always include a link within the post that will provide you with the chips. On a PC/Mac, just click on the link in the post. This will launch the game and award you the chips. On Mobile, tap the same link from within the Facebook app and you will see a new page.
How can I get free chips from Doubledown Casino?
Each day, you can get a pile of free chips just by logging in to the game for your spin. Diamond Club members can earn even larger Daily Wheel payouts! Log in throughout the day to collect your Time Bonus! Your Time Bonus can be collected hourly.
Claim Your Free Slots Chips at DoubleDown Casino - Unlock Endless Spins and Exciting Rewards Now!
This site only collects related articles. Viewing the original, please copy and open the following link:PrimeReact React UI Component Library