dcm.SocialMediaWidget
The
<dcm.SocialMediaWidget>
tag provides a quick, easy way to display social media icons.
Attributes
-
For: specifies which social media platform icons to display. Available platforms: Facebook,Instagram,LinkedIn,Twitter,YouTube
-
IconTypeLibrary: specifies which Font Awesome library to use. Available: fas (Font Awesome solid)
-
IconTypeName: specifies which shape the icons should be displayed on top of. Available shapes: circle, square (square with rounded corners), square-full (square with non-rounded corners).
Usage Notes
TODO notes
Examples
<dcm.SocialMediaWidget id="genSocialLinks" For="Facebook,LinkedIn,Houzz" IconTypeName="circle" />
If you want more control over the appearance of the icons, list them as individual
SocialMediaIcon
Children. Possible to have different backgrounds styles, different sizes, any icon - even those not recognized. Example:
<dcm.SocialMediaWidget id="genSocialLinks">
<dcm.SocialMediaIcon For="Facebook" IconType="simple" Icon="fab/facebook" IconSize="3x" />
<dcm.SocialMediaIcon For="Instagram" IconType="simple" Icon="fab/instagram" IconSize="3x" />
<dcm.SocialMediaIcon For="LinkedIn" IconType="simple" Icon="fab/linkedin" IconSize="3x" />
</dcm.SocialMediaWidget>
See Also
- TODO