Aller au contenu

🔣 IcônesGratuit · 0 NahnahPar NAHNAH AI

Icônes réseaux & partage

10 icônes génériques de réseaux et de partage (partager, lien, bulle, j’aime, abonnés, direct…), sans logo de marque.

Aperçu en direct

Données de démonstration (produits, menus, textes d’exemple) : dans ta boutique, ce sont les tiennes.

Photos : Unsplash / Pexels (exemples de l’aperçu, jamais inclus dans le code).

Code à copier

Fichier complet sections/nahnah-icones-reseaux.liquid (Liquid, CSS et JS inclus).

{%- comment -%} NAHNAH AI · Icônes réseaux & partage (bibliothèque Sections & effets) : 10 icônes au trait, animables {%- endcomment -%}
<div class="nn-icones-reseaux nn-icones-reseaux--{{ section.settings.alignement }}" data-nn-animation="{{ section.settings.animation }}" data-nn-mode="{{ section.settings.mode }}" style="--nn-mh: {{ section.settings.marge_haut }}px; --nn-mb: {{ section.settings.marge_bas }}px; --nn-fond: {{ section.settings.couleur_fond }}; --nn-texte: {{ section.settings.couleur_texte }}; --nn-accent: {{ section.settings.couleur_accent }}; --nn-icone: {{ section.settings.couleur_icone }}; --nn-taille: {{ section.settings.taille }}px; --nn-colonnes: {{ section.settings.colonnes }};">
  {%- if section.settings.titre != blank or section.settings.texte != blank -%}
    <div class="nn-icones-reseaux__entete">
      {%- if section.settings.titre != blank -%}<h2 class="nn-icones-reseaux__titre">{{ section.settings.titre }}</h2>{%- endif -%}
      {%- if section.settings.texte != blank -%}<p class="nn-icones-reseaux__intro">{{ section.settings.texte | escape }}</p>{%- endif -%}
    </div>
  {%- endif -%}
  <ul class="nn-icones-reseaux__grille" role="list">
    {%- for block in section.blocks -%}
      <li class="nn-icones-reseaux__carte" style="--nn-i: {{ forloop.index0 }};" {{ block.shopify_attributes }}>
        <span class="nn-icones-reseaux__pastille nn-icones-reseaux__pastille--{{ section.settings.forme }}">
          <svg class="nn-icones-reseaux__svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
        {%- case block.settings.icone -%}
          {%- when 'partager' -%}
            <circle pathLength="1" cx="18" cy="5.5" r="2.5"/><circle pathLength="1" cx="6" cy="12" r="2.5"/><circle pathLength="1" cx="18" cy="18.5" r="2.5"/><path pathLength="1" d="m8.2 10.8 7.6-4.1M8.2 13.2l7.6 4.1"/>
          {%- when 'lien' -%}
            <path pathLength="1" d="M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1"/><path pathLength="1" d="M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1"/>
          {%- when 'bulle' -%}
            <path pathLength="1" d="M12 4c4.7 0 8.5 3.3 8.5 7.5S16.7 19 12 19c-1.2 0-2.3-.2-3.3-.6L4 20l1.3-3.8A7 7 0 0 1 3.5 11.5C3.5 7.3 7.3 4 12 4z"/>
          {%- when 'jaime' -%}
            <path pathLength="1" d="M7 10.5v10H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1z"/><path pathLength="1" d="M7 10.5 11 3a2.3 2.3 0 0 1 2.5 2.6L13 9h5.4a2 2 0 0 1 2 2.4l-1.4 7.2a2.3 2.3 0 0 1-2.3 1.9H7"/>
          {%- when 'abonnes' -%}
            <circle pathLength="1" cx="9" cy="8" r="3.5"/><path pathLength="1" d="M2.5 20a6.5 6.5 0 0 1 13 0"/><path pathLength="1" d="M15.5 4.8a3.5 3.5 0 0 1 0 6.4M18 14.5a6.5 6.5 0 0 1 3.5 5.5"/>
          {%- when 'notification' -%}
            <path pathLength="1" d="M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 1.5h-15z"/><path pathLength="1" d="M10 20.5a2 2 0 0 0 4 0"/>
          {%- when 'photo' -%}
            <path pathLength="1" d="M4 8h3l1.6-2.5h6.8L17 8h3a1 1 0 0 1 1 1v9.5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z"/><circle pathLength="1" cx="12" cy="13.5" r="3.5"/>
          {%- when 'video' -%}
            <rect pathLength="1" x="2.5" y="5" width="19" height="14" rx="3"/><path pathLength="1" d="m10 9 5 3-5 3z"/>
          {%- when 'direct' -%}
            <circle pathLength="1" cx="12" cy="12" r="2"/><path pathLength="1" d="M8 8a5.7 5.7 0 0 0 0 8M16 8a5.7 5.7 0 0 1 0 8M5.2 5.2a9.6 9.6 0 0 0 0 13.6M18.8 5.2a9.6 9.6 0 0 1 0 13.6"/>
          {%- when 'hashtag' -%}
            <path pathLength="1" d="M9.5 3.5 7.5 20.5M16.5 3.5l-2 17M4 9h16.5M3.5 15H20"/>
        {%- endcase -%}
          </svg>
        </span>
        {%- if block.settings.titre != blank -%}
          <h3 class="nn-icones-reseaux__nom">
            {%- if block.settings.lien != blank -%}
              <a class="nn-icones-reseaux__lien" href="{{ block.settings.lien }}">{{ block.settings.titre | escape }}</a>
            {%- else -%}
              {{ block.settings.titre | escape }}
            {%- endif -%}
          </h3>
        {%- endif -%}
        {%- if block.settings.texte != blank -%}<p class="nn-icones-reseaux__texte">{{ block.settings.texte | escape }}</p>{%- endif -%}
      </li>
    {%- endfor -%}
  </ul>
</div>

{% schema %}
{
  "name": "Icônes réseaux & partage",
  "tag": "section",
  "class": "nn-section-icones-reseaux",
  "max_blocks": 24,
  "settings": [
    {
      "type": "inline_richtext",
      "id": "titre",
      "label": "Titre",
      "default": "Rejoins la communauté"
    },
    {
      "type": "textarea",
      "id": "texte",
      "label": "Texte d’introduction",
      "default": "Partage tes photos, pose tes questions et suis nos nouveautés."
    },
    {
      "type": "select",
      "id": "alignement",
      "label": "Alignement",
      "options": [
        {
          "value": "centre",
          "label": "Centré"
        },
        {
          "value": "gauche",
          "label": "À gauche"
        }
      ],
      "default": "centre"
    },
    {
      "type": "range",
      "id": "colonnes",
      "label": "Colonnes sur ordinateur",
      "min": 2,
      "max": 6,
      "step": 1,
      "default": 5
    },
    {
      "type": "header",
      "content": "Icônes"
    },
    {
      "type": "range",
      "id": "taille",
      "label": "Taille des icônes",
      "min": 24,
      "max": 64,
      "step": 4,
      "default": 36,
      "unit": "px"
    },
    {
      "type": "select",
      "id": "forme",
      "label": "Fond de l’icône",
      "options": [
        {
          "value": "cercle",
          "label": "Cercle"
        },
        {
          "value": "carre",
          "label": "Carré arrondi"
        },
        {
          "value": "aucune",
          "label": "Aucun"
        }
      ],
      "default": "cercle"
    },
    {
      "type": "select",
      "id": "animation",
      "label": "Animation",
      "options": [
        {
          "value": "aucune",
          "label": "Aucune"
        },
        {
          "value": "rebond",
          "label": "Rebond"
        },
        {
          "value": "rotation",
          "label": "Rotation"
        },
        {
          "value": "pulsation",
          "label": "Pulsation"
        },
        {
          "value": "balancement",
          "label": "Balancement"
        },
        {
          "value": "trace",
          "label": "Tracé dessiné"
        }
      ],
      "default": "trace"
    },
    {
      "type": "select",
      "id": "mode",
      "label": "Déclenchement",
      "options": [
        {
          "value": "survol",
          "label": "Au survol (souris)"
        },
        {
          "value": "continu",
          "label": "En continu"
        }
      ],
      "default": "survol"
    },
    {
      "type": "paragraph",
      "content": "Les animations sont coupées automatiquement si le visiteur a demandé à réduire les animations."
    },
    {
      "type": "header",
      "content": "Couleurs"
    },
    {
      "type": "color",
      "id": "couleur_fond",
      "label": "Fond",
      "default": "#1A1033"
    },
    {
      "type": "color",
      "id": "couleur_texte",
      "label": "Texte",
      "default": "#F7F2FF"
    },
    {
      "type": "color",
      "id": "couleur_accent",
      "label": "Accent",
      "default": "#FF6FB5"
    },
    {
      "type": "color",
      "id": "couleur_icone",
      "label": "Icône",
      "default": "#FFFFFF"
    },
    {
      "type": "header",
      "content": "Espacement"
    },
    {
      "type": "range",
      "id": "marge_haut",
      "label": "Marge haute",
      "min": 0,
      "max": 120,
      "step": 4,
      "unit": "px",
      "default": 48
    },
    {
      "type": "range",
      "id": "marge_bas",
      "label": "Marge basse",
      "min": 0,
      "max": 120,
      "step": 4,
      "unit": "px",
      "default": 48
    }
  ],
  "blocks": [
    {
      "type": "icone",
      "name": "Icône",
      "settings": [
        {
          "type": "select",
          "id": "icone",
          "label": "Icône",
          "options": [
            {
              "value": "partager",
              "label": "Partager"
            },
            {
              "value": "lien",
              "label": "Lien"
            },
            {
              "value": "bulle",
              "label": "Commentaires"
            },
            {
              "value": "jaime",
              "label": "J’aime"
            },
            {
              "value": "abonnes",
              "label": "Communauté"
            },
            {
              "value": "notification",
              "label": "Notifications"
            },
            {
              "value": "photo",
              "label": "Photos"
            },
            {
              "value": "video",
              "label": "Vidéos"
            },
            {
              "value": "direct",
              "label": "En direct"
            },
            {
              "value": "hashtag",
              "label": "Hashtag"
            }
          ],
          "default": "partager"
        },
        {
          "type": "text",
          "id": "titre",
          "label": "Titre",
          "default": "Partager"
        },
        {
          "type": "textarea",
          "id": "texte",
          "label": "Texte",
          "default": "Envoie un produit à un proche"
        },
        {
          "type": "url",
          "id": "lien",
          "label": "Lien (facultatif)"
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "Icônes réseaux & partage",
      "blocks": [
        {
          "type": "icone",
          "settings": {
            "icone": "partager",
            "titre": "Partager",
            "texte": "Envoie un produit à un proche"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "lien",
            "titre": "Lien",
            "texte": "Copie le lien de la page"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "bulle",
            "titre": "Commentaires",
            "texte": "Donne ton avis en commentaire"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "jaime",
            "titre": "J’aime",
            "texte": "Montre ce que tu préfères"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "abonnes",
            "titre": "Communauté",
            "texte": "Rejoins les personnes qui nous suivent"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "notification",
            "titre": "Notifications",
            "texte": "Sois prévenu des nouveautés"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "photo",
            "titre": "Photos",
            "texte": "Partage tes photos avec le produit"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "video",
            "titre": "Vidéos",
            "texte": "Découvre nos tutoriels en vidéo"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "direct",
            "titre": "En direct",
            "texte": "Rendez-vous lors de nos lives"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "hashtag",
            "titre": "Hashtag",
            "texte": "Identifie-nous dans tes publications"
          }
        }
      ]
    }
  ]
}
{% endschema %}

{% stylesheet %}
.nn-icones-reseaux {
  padding: var(--nn-mh) 16px var(--nn-mb);
  background: var(--nn-fond);
  color: var(--nn-texte);
}
.nn-icones-reseaux__entete { max-width: 640px; margin: 0 auto 28px; }
.nn-icones-reseaux--centre .nn-icones-reseaux__entete { text-align: center; }
.nn-icones-reseaux__titre { margin: 0 0 8px; font-size: clamp(24px, 4vw, 34px); line-height: 1.2; }
.nn-icones-reseaux__intro { margin: 0; opacity: 0.8; font-size: 16px; line-height: 1.5; }
.nn-icones-reseaux__grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
@media (min-width: 750px) { .nn-icones-reseaux__grille { grid-template-columns: repeat(var(--nn-colonnes), minmax(0, 1fr)); gap: 30px 20px; } }
.nn-icones-reseaux__carte { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.nn-icones-reseaux--gauche .nn-icones-reseaux__carte { align-items: flex-start; text-align: start; }
.nn-icones-reseaux__pastille {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--nn-taille) * 1.9);
  height: calc(var(--nn-taille) * 1.9);
  margin-bottom: 12px;
  color: var(--nn-icone);
}
.nn-icones-reseaux__pastille--cercle { border-radius: 50%; background: color-mix(in srgb, var(--nn-accent) 18%, transparent); }
.nn-icones-reseaux__pastille--carre { border-radius: 28%; background: color-mix(in srgb, var(--nn-accent) 18%, transparent); }
.nn-icones-reseaux__pastille--aucune { width: auto; height: auto; }
.nn-icones-reseaux__svg { display: block; width: var(--nn-taille); height: var(--nn-taille); transform-origin: 50% 50%; }
.nn-icones-reseaux__nom { margin: 0 0 4px; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.nn-icones-reseaux__texte { margin: 0; font-size: 14px; line-height: 1.45; opacity: 0.75; overflow-wrap: anywhere; }
.nn-icones-reseaux__lien { color: inherit; text-decoration: none; }
.nn-icones-reseaux__lien::after { content: ""; position: absolute; inset: 0; }
.nn-icones-reseaux__carte:has(.nn-icones-reseaux__lien) { position: relative; border-radius: 12px; }
.nn-icones-reseaux__lien:hover { text-decoration: underline; }
.nn-icones-reseaux__lien:focus-visible { outline: none; }
.nn-icones-reseaux__carte:has(.nn-icones-reseaux__lien:focus-visible) { outline: 3px solid var(--nn-accent); outline-offset: 6px; }
@keyframes nn-icones-reseaux-rebond { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-18%); } 55% { transform: translateY(3%); } 75% { transform: translateY(-5%); } }
@keyframes nn-icones-reseaux-rotation { to { transform: rotate(1turn); } }
@keyframes nn-icones-reseaux-pulsation { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes nn-icones-reseaux-balancement { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
@keyframes nn-icones-reseaux-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes nn-icones-reseaux-trace-boucle { 0% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }
.nn-icones-reseaux[data-nn-mode="continu"][data-nn-animation="rebond"] .nn-icones-reseaux__svg { animation: nn-icones-reseaux-rebond 1.8s ease-in-out infinite; animation-delay: calc(var(--nn-i) * 120ms); }
.nn-icones-reseaux[data-nn-mode="continu"][data-nn-animation="rotation"] .nn-icones-reseaux__svg { animation: nn-icones-reseaux-rotation 6s linear infinite; }
.nn-icones-reseaux[data-nn-mode="continu"][data-nn-animation="pulsation"] .nn-icones-reseaux__svg { animation: nn-icones-reseaux-pulsation 2.2s ease-in-out infinite; animation-delay: calc(var(--nn-i) * 120ms); }
.nn-icones-reseaux[data-nn-mode="continu"][data-nn-animation="balancement"] .nn-icones-reseaux__svg { animation: nn-icones-reseaux-balancement 2.4s ease-in-out infinite; animation-delay: calc(var(--nn-i) * 120ms); }
.nn-icones-reseaux[data-nn-mode="continu"][data-nn-animation="trace"] .nn-icones-reseaux__svg > * { stroke-dasharray: 1; animation: nn-icones-reseaux-trace-boucle 3.2s ease-in-out infinite; animation-delay: calc(var(--nn-i) * 160ms); }
@media (hover: hover) {
  .nn-icones-reseaux[data-nn-mode="survol"][data-nn-animation="rebond"] .nn-icones-reseaux__carte:hover .nn-icones-reseaux__svg { animation: nn-icones-reseaux-rebond 0.8s ease-out; }
  .nn-icones-reseaux[data-nn-mode="survol"][data-nn-animation="rotation"] .nn-icones-reseaux__carte:hover .nn-icones-reseaux__svg { animation: nn-icones-reseaux-rotation 0.7s ease-in-out; }
  .nn-icones-reseaux[data-nn-mode="survol"][data-nn-animation="pulsation"] .nn-icones-reseaux__carte:hover .nn-icones-reseaux__svg { animation: nn-icones-reseaux-pulsation 0.9s ease-in-out infinite; }
  .nn-icones-reseaux[data-nn-mode="survol"][data-nn-animation="balancement"] .nn-icones-reseaux__carte:hover .nn-icones-reseaux__svg { animation: nn-icones-reseaux-balancement 0.7s ease-in-out; }
  .nn-icones-reseaux[data-nn-mode="survol"][data-nn-animation="trace"] .nn-icones-reseaux__carte:hover .nn-icones-reseaux__svg > * { stroke-dasharray: 1; animation: nn-icones-reseaux-trace 0.9s ease-out; }
}
.nn-icones-reseaux[data-nn-mode="survol"][data-nn-animation="trace"] .nn-icones-reseaux__carte:focus-within .nn-icones-reseaux__svg > * { stroke-dasharray: 1; animation: nn-icones-reseaux-trace 0.9s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .nn-icones-reseaux *, .nn-icones-reseaux *::before, .nn-icones-reseaux *::after {
    animation: none !important;
    transition: none !important;
  }
}
{% endstylesheet %}
Télécharger le fichier .liquid

Les 10 icônes, une par une

  • Partager
  • Lien
  • Commentaires
  • J’aime
  • Communauté
  • Notifications
  • Photos
  • Vidéos
  • En direct
  • Hashtag

Licence NAHNAH AI : utilisation libre dans tes boutiques (y compris commerciales), modification permise, revente de l’élément seul interdite.

Prompt à copier

À coller dans Claude ou ChatGPT avec le fichier téléchargé (ou le code copié) : l’assistant t’aide à l’installer et à l’adapter à ta marque.

Tu es un expert des thèmes Shopify Online Store 2.0. Aide-moi à installer puis à adapter à ma marque cet élément gratuit de la bibliothèque NAHNAH AI.

Élément : « Icônes réseaux & partage » (Icônes)
Description : 10 icônes génériques de réseaux et de partage (partager, lien, bulle, j’aime, abonnés, direct…), sans logo de marque.
Page de l’élément (aperçu en direct) : https://ai.nahnah.shop/bibliotheque-shopify/icones-reseaux
Fichier : nahnah-icones-reseaux.liquid (bouton « Télécharger » de la page) ou le code copié avec le bouton « Copier » : je te le joins ou je le colle après ce message.
Emplacement dans le thème : sections/nahnah-icones-reseaux.liquid (Liquid, puis {% stylesheet %} et {% javascript %}, dans ce seul fichier).

Étapes d’installation :
1. Dans Shopify : Boutique en ligne → Thèmes → bouton « … » du thème → Modifier le code.
2. Dossier « sections » → « Ajouter une section » (ou « Nouveau fichier ») → nomme-la « nahnah-icones-reseaux ».
3. Efface le contenu proposé, colle le code de l’onglet Liquid (fichier complet), puis Enregistrer.
4. Ouvre Personnaliser → Ajouter une section → choisis-la, règle les textes et les couleurs, puis Enregistrer.

Ce que j’attends de toi :
- Guide-moi pas à pas dans Shopify : Boutique en ligne → Thèmes → « … » → Modifier le code → dossier sections → Ajouter une section, puis Personnaliser → Ajouter une section.
- Propose-moi d’adapter les couleurs, les textes et les liens à ma marque : demande d’abord mes couleurs (codes hexadécimaux), mon ton et mes liens.
- Garde le bloc {% schema %} et tous ses réglages (identifiants, types, presets) : je dois pouvoir tout régler ensuite dans l’éditeur de thème.
- Rends-moi le fichier complet modifié, prêt à coller, sans faux avis, fausse urgence ni chiffre inventé.

Si tu as le connecteur NAHNAH AI (MCP), récupère directement le code exact avec l’outil obtenir_code_element (id : icones-reseaux).

Installer dans ma boutique

En un clic, la section est ajoutée à un thème de ta boutique Shopify connectée (un thème non publié par défaut).

Chargement de tes boutiques…

Installer dans Shopify

  1. Dans Shopify : Boutique en ligne → Thèmes → bouton « … » du thème → Modifier le code.
  2. Dossier « sections » → « Ajouter une section » (ou « Nouveau fichier ») → nomme-la « nahnah-icones-reseaux ».
  3. Efface le contenu proposé, colle le code de l’onglet Liquid (fichier complet), puis Enregistrer.
  4. Ouvre Personnaliser → Ajouter une section → choisis-la, règle les textes et les couleurs, puis Enregistrer.

Installer via le MCP

Depuis Claude, Claude Code ou ChatGPT connecté à NAHNAH AI, demande : « Donne-moi le code de l’élément icones-reseaux de la bibliothèque NAHNAH AI et les étapes pour l’installer ». L’assistant récupère le code et les étapes (outil obtenir_code_element), gratuitement.

Boutique connectée à NAHNAH AI : l’assistant peut aussi l’installer directement (outil installer_element).

Connecter le MCP

Dans la même catégorie