Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@astrouxds/rux-icon

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrouxds/rux-icon

Astro Web Component for icons

  • 3.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
27
decreased by-90.78%
Maintainers
2
Weekly downloads
 
Created
Source

#Icons The RUX Icon component is … RUX Icon is based on the industry standard WebComponents v1 spec and implemented with Polymer Project 3 for backwards compatibility and document binding.

RUX Icon is available as a preview release and should not be used in production code.

For stylesheet usage outside of a WebComponent environment, please see Astro UXDS Stylesheets

##Guidelines

##Installation npm i -S @astrouxds/rux-icon

###Dependancies

##Usage ###Import the RUX Icon

import { RuxIcon } from "@astro-components/rux-icon/rux-icon.js";

###Basic HTML Usage

<rux-icon icon="default:settings"></rux-icon>

###Properties

PropertyTypeDescription
iconstringDefines the icon to be used. RUX Icon uses the convention of namespace:icon-name to avoid potential namespace collision. RUX ships with the following icon sets: default,advanced-status and status. For a full list of icon symbols see the Icons section in Astro UXDS Guidelines
colorstringChanges the icon color. Accepted values can be entered as hex, rgba, hsl and HTML string. Caution: the status icon set cannot and should not be overidden
sizestringAllows for large icon variants

###Standard Icons

###Events RUX Icons do not support events. If you need an Icon button use the RUX Button Icon type

FAQs

Package last updated on 26 Feb 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc