@arc-fusion/pb-icons
v1.2.5
Published
PageBuilder Icon Library
Downloads
120
Maintainers
Keywords
Readme
PB Icons
PB Icons is used by Theme and Fusion developers to enhance their curation experience in PB Editor. You can view all available PB icons here.
Create new package version
- Arc design team will request an import of streamline sets/subsets or custom Arc svg icon
- Add svg to the
img
directory. The name of the file will be the id used by Fusion/Theme developers, so please do not change any .svg filenames after initial upload. - Ensure the icons you upload use
currentColor
variable instead of a color hex code. - Update the version # in package.json
- Run npm publish
- After you publish the icon library it can be installed in PB Editor or any other PB application
- Create a PR with your changes and message Editor team in Slack (#pb-editor)
Imported Streamline Icon Sets
You can view all Streamline sets and subsets for https://app.streamlinehq.com/icons/streamline-regular. Please update this list fiir tracking purposes if Arc design team wants to add new icon sets/subsets.
Set: Interface Essentials
Subsets
- Dashboard
- Settings
- Controls
- Alerts
- Filter
- Help
- Stats
- Date Calendar
- Edit
- Delete
- View
- Search
- Link
- Share
- Pin
- Text Formatting
- Text Options
- Lists
- Paragraphs
- Layouts
- Hierarchy Organization
- Multimedia controls
- Select
- Expand Retract
- Tags/Bookmarks
Set: Programing Apps Websites
Subsets
- Programing
- Plugins Modules
- Programing Languages
- Website Development
- UI Components
- Apps
Set: Business Products
Subsets
- Analytics
- Data Files
Set: Shopping Ecommerce
Subsets
- Shops
- E Commerce
- Mobile Shopping
- Receipts
- Discount Coupons
- Tag codes
- Shopping Bags
- Baskets
- Carts
- Products
Set: Content
Subsets
- Content creation
- Books
- Notes
- Archives
- Newspapers
Set: Design
Subsets
- Design Tools
- Vectors
- Colors Painting
- Shapes
- Layers
- Grids Rulers
- Crops Artboards
- Align
- Flip
- Transform
- Reorder
- Pathfinder
- Resize
Set: Images Photography
Subsets
- Cameras
- Pictures
- Picture Frames
- Light modes
- Focus
Set: Video Movies TV
Subsets
- ALL SETS
Set: Weather
Subsets
- Weather
Set: Arrows Diagrams
Subsets
- Arrows
- Diagrams
PageBuilder Internal Icons (React Components)
These are React component SVG icons used in the PB Editor ui.
In your component
import PageBuilderIcons from '@arc-fusion/pb-icons'
Raw Usage
{PageBuilderIcons.misc.plus}
Actionable Usage
<span className="someclass" onClick={() => { // dosomething }}>{PageBuilderIcons.misc.plus}</span>
Available Icons
- Preview
- Toolbar
- Workspace
- Blocks
- Misc
Modification
Run npm run build
after modifying any icons.
Local Development
Use npm link
for local testing/development of this module.
cd pb-icons
sudo npm link
cd myproject
sudo npm link @arc-fusion/pb-icons
When finished dev/testing, unlink the module to continue using the remote package instead of local.
cd pb-icons
npm unlink
Don't forget to publish your modifications back to npmjs.