assets-icons-fonts

Icons, Fonts & Assets

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "assets-icons-fonts" with this command: npx skills add sraloff/gravityboots/sraloff-gravityboots-assets-icons-fonts

Icons, Fonts & Assets

When to use this skill

  • Adding icons (SVG, Lucide, FontAwesome).

  • Loading custom fonts (Google Fonts, local WOFF2).

  • Optimizing images.

  1. Icons
  • SVG: Prefer inline SVGs or Sprites over font icons for accessibility and performance.

  • React: Use libraries like lucide-react or heroicons that treeshake well.

  • Attributes: Always set aria-hidden="true" for decorative icons, or providing decent aria-label .

  1. Fonts
  • Format: Use WOFF2 for local fonts.

  • Loading: Use font-display: swap; in CSS to show fallback text immediately.

  • Next.js: Use next/font to optimize Google Fonts and eliminate layout shift (CLS).

  1. Images
  • Formats: Prefer WebP or AVIF over PNG/JPEG.

  • Sizing: Always specify width and height attributes (or aspect ratio) to prevent layout shifts.

  • Lazy Loading: Use loading="lazy" for below-the-fold images.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

caddy-modern-config

No summary provided by upstream source.

Repository SourceNeeds Review
General

apache-lamp-config

No summary provided by upstream source.

Repository SourceNeeds Review
General

ui-frontend-design

No summary provided by upstream source.

Repository SourceNeeds Review
General

server-management

No summary provided by upstream source.

Repository SourceNeeds Review