@uploadcare/ui-icons
v4.0.4
Published
The set of SVG icons built specifically for Uploadcare by Uploadcare.
Downloads
80
Keywords
Readme
Uploadcare Icons
The set of SVG icons built specifically for Uploadcare by Uploadcare. Available as React components only.
Demo
Check out the basic demo here.
Requirements
Icons are distributed as React components only cause we are using React in Uploadcare. So, all you need is React and some code bundler like webpack.
Install
npm install @uploadcare/ui-icons
Usage
import {IconMiscServer} from '@uploadcare/ui-icons'
const App = () => <IconMiscServer />
You can find all the available icons on the demo page.
Styling
All the props are passed to the svg element so you can style the icon as you want. Property fill
is set to currentColor
value.
Using CSS Modules:
<IconMiscServer className='styled-icon' />
.styled-icon {
color: red;
}
Using Styled Components
const StyledIcon = styled(IconMiscServer)`
color: red;
`
<StyledIcon />
Security issues
If you think you ran into something in Uploadcare libraries which might have security implications, please hit us up at [email protected] or Hackerone.
We'll contact you personally in a short time to fix an issue through co-op and prior to any public disclosure.
Feedback
Issues and PRs are welcome. You can provide your feedback or drop us a support request at [email protected].