![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@heroku/react-malibu
Advanced tools
React components for using the Malibu SVG spritesheet.
yarn add @heroku/react-malibu
import { MalibuSprites, MalibuIcon } from '@heroku/react-malibu'
Clone the repo, then yarn install
. If you want to see the demo server, run yarn start
and visit http://localhost:3000 to browse the icons.
You cannot currently publish to NPM using yarn, because there are bugs.
See more in CONTRIBUTING.md.
This package offers two components: <MalibuSprites>
and <MalibuIcon>
.
<MalibuSprites>
Put this component on your page only once, it fetches and displays the entire spritesheet.
By default this will load the product sprites. To load the marketing sprites, add the set
property.
<MalibuSprites set='marketing'/>
<MalibuIcon>
Use this component to instantiate an icon.
<MalibuIcon name='add-badge-16' size={20} fillClass='dark-gray' style={'position': 'fixed'} extraClasses='foo bar baz'/>
name
(required): the name of the icon. See the full list at https://hk-malibu.herokuapp.com/.size
(default: undefined): the desired rendering size in pixels. Note that most icons come in -16
and -28
pixel variants. Choose the appropriate variant for the scale you wish to render at — for example, if you're rendering an icon at 12px, use the -16
icon as the base and 12
as the size
. If you do not specify a size, the icon's native size will be used.fillClass
(default: purple): the desired icon fill. Must be one of
purple
dark-gray
red
orange
green
blue
style
(optional): an object containing style definitions to apply to the rendered <svg>
element.extraClasses
(optional): a string containing space-separated classnames to apply to the rendered <svg>
element.FAQs
React components for Heroku's Malibu SVG icon system
The npm package @heroku/react-malibu receives a total of 124 weekly downloads. As such, @heroku/react-malibu popularity was classified as not popular.
We found that @heroku/react-malibu demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 25 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.