🔣 IcônesGratuit · 0 NahnahPar NAHNAH AI
Icônes contact & service
10 icônes de service client au trait (téléphone, e-mail, discussion, horaires, FAQ, adresse…) 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-contact.liquid (Liquid, CSS et JS inclus).
{%- comment -%} NAHNAH AI · Icônes contact & service (bibliothèque Sections & effets) : 10 icônes au trait, animables {%- endcomment -%}
<div class="nn-icones-contact nn-icones-contact--{{ 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-contact__entete">
{%- if section.settings.titre != blank -%}<h2 class="nn-icones-contact__titre">{{ section.settings.titre }}</h2>{%- endif -%}
{%- if section.settings.texte != blank -%}<p class="nn-icones-contact__intro">{{ section.settings.texte | escape }}</p>{%- endif -%}
</div>
{%- endif -%}
<ul class="nn-icones-contact__grille" role="list">
{%- for block in section.blocks -%}
<li class="nn-icones-contact__carte" style="--nn-i: {{ forloop.index0 }};" {{ block.shopify_attributes }}>
<span class="nn-icones-contact__pastille nn-icones-contact__pastille--{{ section.settings.forme }}">
<svg class="nn-icones-contact__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 'telephone' -%}
<path pathLength="1" d="M5 3.5h3.5l1.5 4.5-2.2 1.4a11 11 0 0 0 6.8 6.8l1.4-2.2 4.5 1.5V19a1.5 1.5 0 0 1-1.6 1.5A16.5 16.5 0 0 1 3.5 5.1 1.5 1.5 0 0 1 5 3.5z"/>
{%- when 'email' -%}
<rect pathLength="1" x="3" y="5" width="18" height="14" rx="2"/><path pathLength="1" d="m3.5 6.5 8.5 6.5 8.5-6.5"/>
{%- when 'discussion' -%}
<path pathLength="1" d="M4 5.5A1.5 1.5 0 0 1 5.5 4h13A1.5 1.5 0 0 1 20 5.5v9a1.5 1.5 0 0 1-1.5 1.5H10l-4.5 4v-4A1.5 1.5 0 0 1 4 14.5z"/><path pathLength="1" d="M8 9h8M8 12h5"/>
{%- when 'assistance' -%}
<path pathLength="1" d="M4.5 14v-2a7.5 7.5 0 0 1 15 0v2"/><rect pathLength="1" x="3" y="13.5" width="4" height="6" rx="1.5"/><rect pathLength="1" x="17" y="13.5" width="4" height="6" rx="1.5"/><path pathLength="1" d="M19 19.5c0 1-1.5 2-4 2h-2"/>
{%- when 'horaires' -%}
<circle pathLength="1" cx="12" cy="12" r="8.5"/><path pathLength="1" d="M12 7.5V12l3 2"/>
{%- when 'adresse' -%}
<path pathLength="1" d="M9 4 3.5 6v14L9 18l6 2 5.5-2V4L15 6z"/><path pathLength="1" d="M9 4v14M15 6v14"/>
{%- when 'faq' -%}
<circle pathLength="1" cx="12" cy="12" r="8.5"/><path pathLength="1" d="M9.6 9.5a2.5 2.5 0 0 1 4.8.8c0 1.7-2.4 2.2-2.4 3.7"/><path pathLength="1" d="M12 17h.01"/>
{%- when 'formulaire' -%}
<rect pathLength="1" x="5" y="4.5" width="14" height="16.5" rx="2"/><path pathLength="1" d="M9 3h6v3H9zM8.5 11h7M8.5 14.5h7M8.5 18h4"/>
{%- when 'satisfaction' -%}
<circle pathLength="1" cx="12" cy="12" r="8.5"/><path pathLength="1" d="M8.5 14a4 4 0 0 0 7 0"/><path pathLength="1" d="M9 9.5h.01M15 9.5h.01"/>
{%- when 'visio' -%}
<rect pathLength="1" x="3" y="7" width="12.5" height="10" rx="2"/><path pathLength="1" d="m15.5 10.5 5.5-3v9l-5.5-3z"/>
{%- endcase -%}
</svg>
</span>
{%- if block.settings.titre != blank -%}
<h3 class="nn-icones-contact__nom">
{%- if block.settings.lien != blank -%}
<a class="nn-icones-contact__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-contact__texte">{{ block.settings.texte | escape }}</p>{%- endif -%}
</li>
{%- endfor -%}
</ul>
</div>
{% schema %}
{
"name": "Icônes contact & service",
"tag": "section",
"class": "nn-section-icones-contact",
"max_blocks": 24,
"settings": [
{
"type": "inline_richtext",
"id": "titre",
"label": "Titre",
"default": "Une question ? Écris-nous"
},
{
"type": "textarea",
"id": "texte",
"label": "Texte d’introduction",
"default": "Choisis le moyen de contact qui te convient : nous répondons à chaque message."
},
{
"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": "#FFFFFF"
},
{
"type": "color",
"id": "couleur_texte",
"label": "Texte",
"default": "#0B1220"
},
{
"type": "color",
"id": "couleur_accent",
"label": "Accent",
"default": "#F5C451"
},
{
"type": "color",
"id": "couleur_icone",
"label": "Icône",
"default": "#0B1220"
},
{
"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": "telephone",
"label": "Téléphone"
},
{
"value": "email",
"label": "E-mail"
},
{
"value": "discussion",
"label": "Discussion"
},
{
"value": "assistance",
"label": "Assistance"
},
{
"value": "horaires",
"label": "Horaires"
},
{
"value": "adresse",
"label": "Adresse"
},
{
"value": "faq",
"label": "Questions fréquentes"
},
{
"value": "formulaire",
"label": "Formulaire"
},
{
"value": "satisfaction",
"label": "Satisfaction"
},
{
"value": "visio",
"label": "Rendez-vous vidéo"
}
],
"default": "telephone"
},
{
"type": "text",
"id": "titre",
"label": "Titre",
"default": "Téléphone"
},
{
"type": "textarea",
"id": "texte",
"label": "Texte",
"default": "Appelle-nous aux horaires d’ouverture"
},
{
"type": "url",
"id": "lien",
"label": "Lien (facultatif)"
}
]
}
],
"presets": [
{
"name": "Icônes contact & service",
"blocks": [
{
"type": "icone",
"settings": {
"icone": "telephone",
"titre": "Téléphone",
"texte": "Appelle-nous aux horaires d’ouverture"
}
},
{
"type": "icone",
"settings": {
"icone": "email",
"titre": "E-mail",
"texte": "Écris-nous, on te répond par e-mail"
}
},
{
"type": "icone",
"settings": {
"icone": "discussion",
"titre": "Discussion",
"texte": "Pose ta question par message"
}
},
{
"type": "icone",
"settings": {
"icone": "assistance",
"titre": "Assistance",
"texte": "Une vraie personne pour t’aider"
}
},
{
"type": "icone",
"settings": {
"icone": "horaires",
"titre": "Horaires",
"texte": "Du lundi au vendredi"
}
},
{
"type": "icone",
"settings": {
"icone": "adresse",
"titre": "Adresse",
"texte": "Retrouve-nous sur la carte"
}
},
{
"type": "icone",
"settings": {
"icone": "faq",
"titre": "Questions fréquentes",
"texte": "Les réponses aux questions courantes"
}
},
{
"type": "icone",
"settings": {
"icone": "formulaire",
"titre": "Formulaire",
"texte": "Remplis le formulaire de contact"
}
},
{
"type": "icone",
"settings": {
"icone": "satisfaction",
"titre": "Satisfaction",
"texte": "Ton avis nous aide à progresser"
}
},
{
"type": "icone",
"settings": {
"icone": "visio",
"titre": "Rendez-vous vidéo",
"texte": "Un conseil personnalisé en visio"
}
}
]
}
]
}
{% endschema %}
{% stylesheet %}
.nn-icones-contact {
padding: var(--nn-mh) 16px var(--nn-mb);
background: var(--nn-fond);
color: var(--nn-texte);
}
.nn-icones-contact__entete { max-width: 640px; margin: 0 auto 28px; }
.nn-icones-contact--centre .nn-icones-contact__entete { text-align: center; }
.nn-icones-contact__titre { margin: 0 0 8px; font-size: clamp(24px, 4vw, 34px); line-height: 1.2; }
.nn-icones-contact__intro { margin: 0; opacity: 0.8; font-size: 16px; line-height: 1.5; }
.nn-icones-contact__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-contact__grille { grid-template-columns: repeat(var(--nn-colonnes), minmax(0, 1fr)); gap: 30px 20px; } }
.nn-icones-contact__carte { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.nn-icones-contact--gauche .nn-icones-contact__carte { align-items: flex-start; text-align: start; }
.nn-icones-contact__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-contact__pastille--cercle { border-radius: 50%; background: color-mix(in srgb, var(--nn-accent) 18%, transparent); }
.nn-icones-contact__pastille--carre { border-radius: 28%; background: color-mix(in srgb, var(--nn-accent) 18%, transparent); }
.nn-icones-contact__pastille--aucune { width: auto; height: auto; }
.nn-icones-contact__svg { display: block; width: var(--nn-taille); height: var(--nn-taille); transform-origin: 50% 50%; }
.nn-icones-contact__nom { margin: 0 0 4px; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.nn-icones-contact__texte { margin: 0; font-size: 14px; line-height: 1.45; opacity: 0.75; overflow-wrap: anywhere; }
.nn-icones-contact__lien { color: inherit; text-decoration: none; }
.nn-icones-contact__lien::after { content: ""; position: absolute; inset: 0; }
.nn-icones-contact__carte:has(.nn-icones-contact__lien) { position: relative; border-radius: 12px; }
.nn-icones-contact__lien:hover { text-decoration: underline; }
.nn-icones-contact__lien:focus-visible { outline: none; }
.nn-icones-contact__carte:has(.nn-icones-contact__lien:focus-visible) { outline: 3px solid var(--nn-accent); outline-offset: 6px; }
@keyframes nn-icones-contact-rebond { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-18%); } 55% { transform: translateY(3%); } 75% { transform: translateY(-5%); } }
@keyframes nn-icones-contact-rotation { to { transform: rotate(1turn); } }
@keyframes nn-icones-contact-pulsation { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes nn-icones-contact-balancement { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
@keyframes nn-icones-contact-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes nn-icones-contact-trace-boucle { 0% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }
.nn-icones-contact[data-nn-mode="continu"][data-nn-animation="rebond"] .nn-icones-contact__svg { animation: nn-icones-contact-rebond 1.8s ease-in-out infinite; animation-delay: calc(var(--nn-i) * 120ms); }
.nn-icones-contact[data-nn-mode="continu"][data-nn-animation="rotation"] .nn-icones-contact__svg { animation: nn-icones-contact-rotation 6s linear infinite; }
.nn-icones-contact[data-nn-mode="continu"][data-nn-animation="pulsation"] .nn-icones-contact__svg { animation: nn-icones-contact-pulsation 2.2s ease-in-out infinite; animation-delay: calc(var(--nn-i) * 120ms); }
.nn-icones-contact[data-nn-mode="continu"][data-nn-animation="balancement"] .nn-icones-contact__svg { animation: nn-icones-contact-balancement 2.4s ease-in-out infinite; animation-delay: calc(var(--nn-i) * 120ms); }
.nn-icones-contact[data-nn-mode="continu"][data-nn-animation="trace"] .nn-icones-contact__svg > * { stroke-dasharray: 1; animation: nn-icones-contact-trace-boucle 3.2s ease-in-out infinite; animation-delay: calc(var(--nn-i) * 160ms); }
@media (hover: hover) {
.nn-icones-contact[data-nn-mode="survol"][data-nn-animation="rebond"] .nn-icones-contact__carte:hover .nn-icones-contact__svg { animation: nn-icones-contact-rebond 0.8s ease-out; }
.nn-icones-contact[data-nn-mode="survol"][data-nn-animation="rotation"] .nn-icones-contact__carte:hover .nn-icones-contact__svg { animation: nn-icones-contact-rotation 0.7s ease-in-out; }
.nn-icones-contact[data-nn-mode="survol"][data-nn-animation="pulsation"] .nn-icones-contact__carte:hover .nn-icones-contact__svg { animation: nn-icones-contact-pulsation 0.9s ease-in-out infinite; }
.nn-icones-contact[data-nn-mode="survol"][data-nn-animation="balancement"] .nn-icones-contact__carte:hover .nn-icones-contact__svg { animation: nn-icones-contact-balancement 0.7s ease-in-out; }
.nn-icones-contact[data-nn-mode="survol"][data-nn-animation="trace"] .nn-icones-contact__carte:hover .nn-icones-contact__svg > * { stroke-dasharray: 1; animation: nn-icones-contact-trace 0.9s ease-out; }
}
.nn-icones-contact[data-nn-mode="survol"][data-nn-animation="trace"] .nn-icones-contact__carte:focus-within .nn-icones-contact__svg > * { stroke-dasharray: 1; animation: nn-icones-contact-trace 0.9s ease-out; }
@media (prefers-reduced-motion: reduce) {
.nn-icones-contact *, .nn-icones-contact *::before, .nn-icones-contact *::after {
animation: none !important;
transition: none !important;
}
}
{% endstylesheet %}
Les 10 icônes, une par une
- Téléphone
- Discussion
- Assistance
- Horaires
- Adresse
- Questions fréquentes
- Formulaire
- Satisfaction
- Rendez-vous vidéo
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 contact & service » (Icônes)
Description : 10 icônes de service client au trait (téléphone, e-mail, discussion, horaires, FAQ, adresse…) en grille animable.
Page de l’élément (aperçu en direct) : https://ai.nahnah.shop/bibliotheque-shopify/icones-contact
Fichier : nahnah-icones-contact.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-contact.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-contact ».
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-contact).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
- Dans Shopify : Boutique en ligne → Thèmes → bouton « … » du thème → Modifier le code.
- Dossier « sections » → « Ajouter une section » (ou « Nouveau fichier ») → nomme-la « nahnah-icones-contact ».
- Efface le contenu proposé, colle le code de l’onglet Liquid (fichier complet), puis Enregistrer.
- 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-contact 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