.finally(React)

English
Copyright © 2023-currentdotfinally, LLC

Icon Wrapper

🖱️☁️✨

The Icon Wrapper component can be used by importing { IconWrapper } from "finallyreact"

Example

Hover to see a llama icon

🦙
Example

Position

🍏

Top Left

Top Right

🍏

Bottom Right

🍏
🍏

Bottom Left

Position

Always show icon

I dare you to click the llama

🦙
Some Art

 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
 ░░░░░░░░░░░░░░░░▓▓██▓▓██▓▓▓▓██░░░░░░░░░░░░░░░░
 ░░░░░░░░░░░░░░░░██▓▓▓▓▓▓▓▓▓▓██░░░░░░░░░░░░░░░░
 ░░░░░░░░░░░░██████░░░░░░░░░░██████░░░░░░░░░░░░
 ░░████████████░░░░░░░░░░░░░░░░░░██████████░░░░
 ░░██░░░░▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░░░
 ░░██▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██░░░░
 ░░░░██████▓▓░░▓▓██░░░░▒▒░░░░████░░██▓▓██░░░░░░
 ░░░░▒▒██████░░████░░▒▒██▒▒░░████░░████░░░░░░░░
 ░░░░░░░░░░██░░░░░░░░░░░░░░░░░░░░░░██░░░░░░░░░░
 ░░░░░░░░░░██░░░░░░░░░░░░░░░░░░░░░░██░░░░░░░░░░
 ░░░░░░░░░░██░░░░░░░░░░░░░░░░░░░░░░██░░░░░░░░░░
 ░░░░░░░░░░████░░░░░░░░░░░░░░░░░░████░░░░░░░░░░
 ░░░░░░░░░░▓▓████▒▒▒▒▒▒██▒▒▒▒▒▒██████▒▒░░░░░░░░
 ░░░░░░░░░░░░░░██▒▒▓▓░░░░░░██▒▒░░██░░██░░░░░░░░
 ░░░░░░░░░░░░░░██░░██░░░░░░██░░░░░░████░░░░░░░░
 ░░░░░░░░░░░░░░██░░██░░▒▒░░██░░░░░░▒▒██░░░░░░░░
 ░░░░░░░░░░░░░░██▓▓░░▓▓██▓▓░░░░░░░░░░██░░░░░░░░
 ░░░░░░░░░░░░░░░░██░░▒▒██░░░░░░░░░░░░██░░░░░░░░
 ░░░░░░░░░░░░░░░░██░░▒▒▒▒▒▒░░▒▒▒▒▒▒░░██░░░░░░░░
 ░░░░░░░░░░░░░░░░██░░██████░░██████░░██░░░░░░░░
 ░░░░░░░░░░░░░░░░██████░░██████░░██████░░░░░░░░
 ░░░░░░░░░░░░░░░░████░░░░████░░░░░░████░░░░░░░░
 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
   
Always show icon

Simple

Simple

🦙
Simple

IconWrapper Props

Prop NameProp TypeDescription
childrenReact.ReactNodeContent to be wrapped by the icon wrapper
colorstringColor for the icon
hiddenbooleanHides the icon
hideIconbooleanWhether to hide the icon
iconReact.ReactNodeIcon to be displayed
iconPropsHTMLAttributesProps for the icon
location'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'Location of the icon
showIconbooleanWhether to show the icon
simplebooleanRenders a simple icon wrapper