pub enum Icon {
Show 170 variants
AngleDoubleLeft,
AngleDoubleRight,
AngleDown,
AngleLeft,
AngleRight,
AngleUp,
AnsibleTower,
ArrowCircleDown,
ArrowCircleUp,
ArrowsAltV,
ArrowRight,
BalanceScale,
Ban,
Bars,
Bell,
AttentionBell,
Bug,
CaretDown,
Check,
CheckCircle,
ClipboardCheck,
Code,
CodeBranch,
Cog,
Columns,
Compress,
CompressArrowsAlt,
Copy,
CriticalRisk,
Cube,
Cubes,
Database,
Desktop,
Download,
EllipsisV,
ExclamationCircle,
ExclamationTriangle,
Expand,
ExpandArrowsAlt,
ExternalLinkAlt,
Eye,
EyeSlash,
File,
Filter,
Flag,
Folder,
FolderOpen,
GripHorizontal,
GripVertical,
History,
Undo,
OutlinedHdd,
Home,
InfoCircle,
Key,
List,
Lock,
LockOpen,
LongArrowAltDown,
LongArrowAltUp,
MapMarker,
Memory,
Microchip,
Minus,
MinusCircle,
Pause,
PauseCircle,
PencilAlt,
Plus,
PlusCircle,
AddCircleO,
PowerOff,
Off,
Openshift,
Openstack,
Play,
Print,
QuestionCircle,
Redo,
Search,
SearchMinus,
SearchPlus,
ShareSquare,
SortAmountDown,
SortAmountDownAlt,
SyncAlt,
Tag,
Table,
TachometerAlt,
Task,
Th,
ThLarge,
Thumbtack,
Times,
TimesCircle,
Trash,
Upload,
User,
Users,
Wrench,
Asleep,
Automation,
Blueprint,
Build,
BuilderImage,
Bundle,
Catalog,
CloudSecurity,
CloudTenant,
Cluster,
Connected,
DataProcessor,
DataSink,
DataSource,
Degraded,
Disconnected,
Domain,
Enhancement,
Enterprise,
Export,
Flavor,
Image,
Import,
InProgress,
Infrastructure,
Integration,
Migration,
Middleware,
Module,
Monitoring,
Multicluster,
Network,
NetworkRange,
Running,
OpenDrawerRight,
Optimize,
Package,
Pending,
Private,
Port,
ProcessAutomation,
Regions,
Registry,
Replicator,
Repository,
ResourcePool,
ResourcesEmpty,
ResourcesAlmostEmpty,
ResourcesAlmostFull,
ResourcesFull,
Route,
Satellite,
Save,
Security,
ServerGroup,
Service,
Services,
ServiceCatalog,
StorageDomain,
Template,
Tenant,
Topology,
TrendDown,
TrendUp,
Unknown,
Vcenter,
VirtualMachine,
Volume,
Zone,
CaretUp,
}Variants§
AngleDoubleLeft
Indicates the ability to navigate to the first page of a multi-page data set
AngleDoubleRight
Indicates the ability to navigate to the last page of a multi-page data set
AngleDown
Indicates expandable components such as accordions, progressive disclosures, or expandable lists are currently expanded. Clicking this will collapse the component.
AngleLeft
Indicates the ability to navigate to the previous page of a multi-page data set
AngleRight
Indicates expandable elements such as accordions, progressive disclosures, or expandable lists are currently collapsed. Clicking this will expand the element.
AngleUp
Indicates expandable table rows (on mobile) are currently expanded. Clicking this will collapse the component.
AnsibleTower
Represents “Ansible Tower”
ArrowCircleDown
Represents status: an item (such as a VM) is down
ArrowCircleUp
Represents status: an item (such as a VM) is up
ArrowsAltV
Indicates the availability of a sorting function in a table header
ArrowRight
Indicates the ability to take an action or navigate to another page. Is paired with text
BalanceScale
Represents status: an item needs rebalancing
Ban
Represents status: an item is disabled, canceled, terminated or is not ready
Bars
Indicates the ability to collapse a navigation menu
Bell
Indicates the ability to open a notification drawer.
AttentionBell
Represents status: attention
Bug
Represents status: there is a bug present
CaretDown
Indicates the ability to acces option panels for components like drop-downs, filters and page ranges
Check
Represents status: Indicates a switch toggle is in the enabled position
CheckCircle
Indicates the ability to commit edited changes
ClipboardCheck
Represents orders or tasks
Code
Represents code
CodeBranch
Represents code branch
Cog
Indicates availability of configurable settings
Columns
Indicates the ability to manage columns for a table view
Compress
Indicates the ability to compress an item. Should toggle with fa-expand
CompressArrowsAlt
Indicates the ability to compress an item (alt concept). Should toggle with fa-expand-arrows-alt
Copy
Indicates the availability of a copy to clipboard function
CriticalRisk
Represents potential critical impact on a system or cluster
Cube
Represents a container
Cubes
Represents a Kubernetes pod(s)
Database
Represents a database
Desktop
Represents a desktop, workstation or terminal
Download
Indicates a download function is available
EllipsisV
Indicates a contextual menu of actions or additional actions is available
ExclamationCircle
Represents alert status: danger, major error or critical error
ExclamationTriangle
Represents alert status: warning
Expand
Indicates the ability to expand an item. Should toggle with fa-compress
ExpandArrowsAlt
Indicates the ability to expand an item (alt concept). Should toggle with fa-compress-arrows-alt
ExternalLinkAlt
Indicates the link navigates to an external site
Eye
Indicates the content of a component is currently hidden but can be revealed
EyeSlash
Indicates the content of a component is revealed but can be hidden
File
Represents a file type
Filter
Indicates the ability to filter search results or datasets
Flag
Represents a message.
Folder
Represents a collapsed hierarchical group.
FolderOpen
Represents an expanded hierarchical group.
GripHorizontal
Indicates the ability to move a vertically-oriented component via drag and drop
GripVertical
Indicates the ability to move a horizontally-oriented component via drag and drop
History
Represents status: restarting
Undo
Indicates the ability to undo an a step in a historical log
OutlinedHdd
Represents a single node or host
Home
Indicates a link to a default/home page
InfoCircle
Represents alert status: information
Key
Represents an SSH key or similar security concepts
List
Represents data view content in a list format.
Lock
Represents status: locked
LockOpen
Represents status: unlocked
LongArrowAltDown
Represents the largest-to-smallest, highest-to-lowest or last-to-first (descending) sort order for any data type in a data table column. Clicking this will toggle the sort to ascending.
LongArrowAltUp
Represents the smallest-to-largest, lowest-to-highest or first-to-last (ascending) sort order for any data type in a data table column. Clicking this will toggle the sort to descending.
MapMarker
Represents a locale
Memory
Represents the memory on a device
Microchip
Represents the CPU of a device
Minus
Indicates the ability to remove an item
MinusCircle
Indicates the ability to remove an item (alt concept)
Pause
Indicates the ability to pause. Should toggle with fa-play
PauseCircle
Represents status: an interruption and/or stoppage of a process
PencilAlt
Indicates the ability to edit an item
Plus
Indicates the ability to add an item; not for creating completely new objects (see pficon-circle-add)
PlusCircle
Indicates the ability to create an item
AddCircleO
Indicates the ability to create an item. Use this if there are many instances of this icon in a UI (data list, table, etc) to reduce visual noise.
PowerOff
Represents status: powered on
Off
Represents status: powered off
Openshift
Represents brand: OpenShift
Openstack
Represents brand: OpenStack
Play
Indicates the ability to start or resume. Should toggle with fa-pause
Indicates the availability of a print function
QuestionCircle
Indicates the availability of a help system in the masthead
Redo
Indicates the ability to refresh. Please use the animated spinner to indicate that something is “loading” or in the middle of processing
Search
Indicates that that user may perform a search
SearchMinus
Indicates the ability to zoom out
SearchPlus
Indicates the ability to zoom in
Indicates the ability to share via various methods with others
SortAmountDown
Represents the largest-to-smallest, highest-to-lowest or last-to-first (descending) sort order for any data type.
SortAmountDownAlt
Represents the smallest-to-largest, lowest-to-highest or first-to-last (ascending) sort order for any data type.
SyncAlt
Indicates the availability of a sync action
Tag
Indicates the abiltiy to access or create a set of tags
Table
Represents data view content in a table format
TachometerAlt
Represents data view content in a dashboard
Task
Indicates the ability to open a task drawer. Also can represent tasks or activity.
Th
Represents data view content in a small card format
ThLarge
Represents data view content in a large card format
Thumbtack
Indicates the ability to pin an item
Times
Indicates the ability to close a modal or other panel. Also indicates the ability to clear existing data, such as filter criteria or labels
TimesCircle
Indicates the ability to close the about modal
Trash
Indicates the ability to delete
Upload
Indicates an upload function is available
User
Represents a user (in a dataset, paired with a username).
Users
Represents multiple users, a user grouping or project
Wrench
Represents status: in preparation for maintenance
Asleep
Represents an item is asleep or in power suspended mode
Automation
Represents a process-automation object
Blueprint
Represents a blueprint
Build
Represents a build
BuilderImage
Represents a builder image
Bundle
Represents a package; used in Satellite, Cockpit, and Composer to indicate a generic package or rpm
Catalog
Indicates the availability of a catalog or library
CloudSecurity
Represents cloud security
CloudTenant
Represents a cloud tenant
Cluster
Represents a cluster or server
Connected
Represents an item’s power is on and is “up”; this is a more active alternative to “pficon-on”
DataProcessor
Represents a data processor
DataSink
Represents a data sink
DataSource
Represents a data source
Degraded
Volume replication is degraded
Disconnected
Represents an item’s power is off and is “down”; this is a more active alternative to “pficon-off”
Domain
Represents a domain
Enhancement
Represents status: enhancement advisory is present
Enterprise
Represents an enterprise
Export
Indicates the ability to export a file or other data
Flavor
Represents a flavor
Image
Represents an image
Import
Indicates the ability to import a file or other data
InProgress
Represents running a determinite action
Infrastructure
Represents an infrastructure
Integration
Represents an integration of two or more objects
Migration
Represents an item such as a VM is currently migrating
Middleware
Represents middleware
Module
Represents a module
Monitoring
Represents monitoring
Multicluster
Indicates a multicluster object
Network
Represents network
NetworkRange
Represents network range
Running
Represents status: running
OpenDrawerRight
Open or close a drawer
Optimize
Indicates the ability to optimize an item or a process
Package
Represents a package
Pending
Represents status: pending; currently waiting on contingencies
Private
Represents status: private; cannot access with current credentials
Port
Represents a port or route
ProcessAutomation
Represents process automation
Regions
Represents a region
Registry
Represents a registry
Replicator
Represents a replicator
Repository
Represents a repository
ResourcePool
Represents a resource pool
ResourcesEmpty
Represents status: is empty
ResourcesAlmostEmpty
Represents status: is almost empty
ResourcesAlmostFull
Represents status: is almost full
ResourcesFull
Represents status: is full
Route
Represents a route
Satellite
Represents brand: Satellite
Save
Indicates the ability to save a file or other object
Security
Represents status: security advisory is present
ServerGroup
Represents a server group
Service
Represents a Kubernetes service
Services
Represents services
ServiceCatalog
Indicates availability of a catalog/library to browse
StorageDomain
Indicates a storage domain
Template
Represents a template; includes contents or instructions used to generate one or more instances of a final output
Tenant
Represents a tenant
Topology
Represents data view content in a topology format
TrendDown
Represents status: downward trend
TrendUp
Represents status: upward trend
Unknown
Represents status: unknown
Vcenter
Represents a vcenter
VirtualMachine
Represents a virtual machine
Volume
Represents a volume
Zone
Represents a zone; a grouping of servers based on geographic location, network location, or function
CaretUp
Indicates the ability to acces option panels for components like drop-downs, filters and page ranges
Implementations§
Source§impl Icon
impl Icon
pub fn as_html(&self) -> Html
Sourcepub fn with_style(&self, style: impl Into<AttrValue>) -> Styled<Icon>
pub fn with_style(&self, style: impl Into<AttrValue>) -> Styled<Icon>
Wrap an Icon with a CSS style
Sourcepub fn with_optional_style(
&self,
style: impl Into<Option<AttrValue>>,
) -> Styled<Icon>
pub fn with_optional_style( &self, style: impl Into<Option<AttrValue>>, ) -> Styled<Icon>
Wrap an Icon with a optional CSS style
pub fn with_state(&self, state: State) -> Html
pub fn with_state_weight(&self, state: State, weight: usize) -> Html
pub fn with_classes(&self, classes: Classes) -> Html
Trait Implementations§
Source§impl AsClasses for Icon
impl AsClasses for Icon
fn extend_classes(&self, classes: &mut Classes)
fn as_classes(&self) -> Classes
Source§impl EnumMessage for Icon
impl EnumMessage for Icon
fn get_message(&self) -> Option<&'static str>
fn get_detailed_message(&self) -> Option<&'static str>
Source§fn get_documentation(&self) -> Option<&'static str>
fn get_documentation(&self) -> Option<&'static str>
fn get_serializations(&self) -> &'static [&'static str]
Source§impl IntoPropValue<ChildrenRenderer<VNode>> for Icon
impl IntoPropValue<ChildrenRenderer<VNode>> for Icon
Source§fn into_prop_value(self) -> ChildrenRenderer<VNode>
fn into_prop_value(self) -> ChildrenRenderer<VNode>
self to a value of a Properties struct.Source§impl IntoPropValue<Option<VNode>> for Icon
impl IntoPropValue<Option<VNode>> for Icon
Source§fn into_prop_value(self) -> Option<Html>
fn into_prop_value(self) -> Option<Html>
self to a value of a Properties struct.impl Copy for Icon
impl Eq for Icon
impl StructuralPartialEq for Icon
Auto Trait Implementations§
impl Freeze for Icon
impl RefUnwindSafe for Icon
impl Send for Icon
impl Sync for Icon
impl Unpin for Icon
impl UnwindSafe for Icon
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
self to a value of a Properties struct.Source§impl<T> IntoPropValue<VNode> for Twhere
T: ToHtml,
impl<T> IntoPropValue<VNode> for Twhere
T: ToHtml,
Source§fn into_prop_value(self) -> VNode
fn into_prop_value(self) -> VNode
self to a value of a Properties struct.