Aller au contenu

🔣 IcônesGratuit · 0 NahnahPar NAHNAH AI

Icônes tech & électronique

10 icônes high-tech au trait (smartphone, ordinateur, casque, batterie, wifi, bluetooth, puce…) en grille animable.

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-tech.liquid (Liquid, CSS et JS inclus).

{%- comment -%} NAHNAH AI · Icônes tech & électronique (bibliothèque Sections & effets) : 10 icônes au trait, animables {%- endcomment -%}
<div class="nn-icones-tech nn-icones-tech--{{ 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-tech__entete">
      {%- if section.settings.titre != blank -%}<h2 class="nn-icones-tech__titre">{{ section.settings.titre }}</h2>{%- endif -%}
      {%- if section.settings.texte != blank -%}<p class="nn-icones-tech__intro">{{ section.settings.texte | escape }}</p>{%- endif -%}
    </div>
  {%- endif -%}
  <ul class="nn-icones-tech__grille" role="list">
    {%- for block in section.blocks -%}
      <li class="nn-icones-tech__carte" style="--nn-i: {{ forloop.index0 }};" {{ block.shopify_attributes }}>
        <span class="nn-icones-tech__pastille nn-icones-tech__pastille--{{ section.settings.forme }}">
          <svg class="nn-icones-tech__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 'smartphone' -%}
            <rect pathLength="1" x="6.5" y="2.5" width="11" height="19" rx="2.5"/><path pathLength="1" d="M10.5 18.5h3"/>
          {%- when 'ordinateur' -%}
            <rect pathLength="1" x="4.5" y="5" width="15" height="10.5" rx="1.5"/><path pathLength="1" d="M2.5 18.5 4 15.5h16l1.5 3z"/>
          {%- when 'casque' -%}
            <path pathLength="1" d="M4 15v-3a8 8 0 0 1 16 0v3"/><rect pathLength="1" x="3.5" y="14" width="4" height="6.5" rx="1.5"/><rect pathLength="1" x="16.5" y="14" width="4" height="6.5" rx="1.5"/>
          {%- when 'batterie' -%}
            <rect pathLength="1" x="2.5" y="7.5" width="17" height="9" rx="2"/><path pathLength="1" d="M21.5 10.5v3"/><path pathLength="1" d="m11.5 9-2 3h3l-2 3"/>
          {%- when 'wifi' -%}
            <path pathLength="1" d="M2.5 9a14 14 0 0 1 19 0M5.5 12.5a9.5 9.5 0 0 1 13 0M8.5 16a5 5 0 0 1 7 0"/><path pathLength="1" d="M12 19.5h.01"/>
          {%- when 'bluetooth' -%}
            <path pathLength="1" d="m7 7.5 10 9-5 4.5v-18l5 4.5-10 9"/>
          {%- when 'eclair' -%}
            <path pathLength="1" d="M13.5 2.5 5 13.5h6l-1.5 8 8.5-11h-6z"/>
          {%- when 'montre' -%}
            <rect pathLength="1" x="6" y="6" width="12" height="12" rx="3"/><path pathLength="1" d="M9 6V2.5h6V6M9 18v3.5h6V18"/><path pathLength="1" d="M12 9.5V12l1.5 1.5"/>
          {%- when 'puce' -%}
            <rect pathLength="1" x="6" y="6" width="12" height="12" rx="1.5"/><rect pathLength="1" x="9.5" y="9.5" width="5" height="5" rx=".5"/><path pathLength="1" d="M9.5 2.5V6M14.5 2.5V6M9.5 18v3.5M14.5 18v3.5M2.5 9.5H6M2.5 14.5H6M18 9.5h3.5M18 14.5h3.5"/>
          {%- when 'enceinte' -%}
            <rect pathLength="1" x="6" y="2.5" width="12" height="19" rx="2"/><circle pathLength="1" cx="12" cy="14.5" r="3.5"/><path pathLength="1" d="M12 7h.01"/>
        {%- endcase -%}
          </svg>
        </span>
        {%- if block.settings.titre != blank -%}
          <h3 class="nn-icones-tech__nom">
            {%- if block.settings.lien != blank -%}
              <a class="nn-icones-tech__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-tech__texte">{{ block.settings.texte | escape }}</p>{%- endif -%}
      </li>
    {%- endfor -%}
  </ul>
</div>

{% schema %}
{
  "name": "Icônes tech & électroniqu",
  "tag": "section",
  "class": "nn-section-icones-tech",
  "max_blocks": 24,
  "settings": [
    {
      "type": "inline_richtext",
      "id": "titre",
      "label": "Titre",
      "default": "Caractéristiques techniques"
    },
    {
      "type": "textarea",
      "id": "texte",
      "label": "Texte d’introduction",
      "default": "L’essentiel à savoir avant de choisir ton appareil."
    },
    {
      "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": "#F3F6FF"
    },
    {
      "type": "color",
      "id": "couleur_texte",
      "label": "Texte",
      "default": "#101A3A"
    },
    {
      "type": "color",
      "id": "couleur_accent",
      "label": "Accent",
      "default": "#3D5AFE"
    },
    {
      "type": "color",
      "id": "couleur_icone",
      "label": "Icône",
      "default": "#3D5AFE"
    },
    {
      "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": "smartphone",
              "label": "Smartphone"
            },
            {
              "value": "ordinateur",
              "label": "Ordinateur"
            },
            {
              "value": "casque",
              "label": "Audio"
            },
            {
              "value": "batterie",
              "label": "Batterie"
            },
            {
              "value": "wifi",
              "label": "Wi-Fi"
            },
            {
              "value": "bluetooth",
              "label": "Bluetooth"
            },
            {
              "value": "eclair",
              "label": "Charge"
            },
            {
              "value": "montre",
              "label": "Montre connectée"
            },
            {
              "value": "puce",
              "label": "Performances"
            },
            {
              "value": "enceinte",
              "label": "Enceinte"
            }
          ],
          "default": "smartphone"
        },
        {
          "type": "text",
          "id": "titre",
          "label": "Titre",
          "default": "Smartphone"
        },
        {
          "type": "textarea",
          "id": "texte",
          "label": "Texte",
          "default": "Compatible avec ton téléphone"
        },
        {
          "type": "url",
          "id": "lien",
          "label": "Lien (facultatif)"
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "Icônes tech & électroniqu",
      "blocks": [
        {
          "type": "icone",
          "settings": {
            "icone": "smartphone",
            "titre": "Smartphone",
            "texte": "Compatible avec ton téléphone"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "ordinateur",
            "titre": "Ordinateur",
            "texte": "Fonctionne aussi sur ordinateur"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "casque",
            "titre": "Audio",
            "texte": "Un son clair et équilibré"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "batterie",
            "titre": "Batterie",
            "texte": "Voir l’autonomie sur la fiche"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "wifi",
            "titre": "Wi-Fi",
            "texte": "Connexion sans fil"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "bluetooth",
            "titre": "Bluetooth",
            "texte": "Appairage simple"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "eclair",
            "titre": "Charge",
            "texte": "Câble de charge inclus selon le modèle"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "montre",
            "titre": "Montre connectée",
            "texte": "Tes notifications au poignet"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "puce",
            "titre": "Performances",
            "texte": "Les détails dans la fiche technique"
          }
        },
        {
          "type": "icone",
          "settings": {
            "icone": "enceinte",
            "titre": "Enceinte",
            "texte": "Pour profiter de ta musique"
          }
        }
      ]
    }
  ]
}
{% endschema %}

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

Les 10 icônes, une par une

  • Smartphone
  • Ordinateur
  • Audio
  • Batterie
  • Wi-Fi
  • Bluetooth
  • Charge
  • Montre connectée
  • Performances
  • Enceinte

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 tech & électronique » (Icônes)
Description : 10 icônes high-tech au trait (smartphone, ordinateur, casque, batterie, wifi, bluetooth, puce…) en grille animable.
Page de l’élément (aperçu en direct) : https://ai.nahnah.shop/bibliotheque-shopify/icones-tech
Fichier : nahnah-icones-tech.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-tech.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-tech ».
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-tech).

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-tech ».
  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-tech 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