Files
mintlify__docs/snippets/fr/icons-optional.mdx
locadex-agent[bot] 3394b52733 docs(locadex): add translations (#3371)
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
2026-02-10 13:30:39 -08:00

26 lines
1.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<ResponseField name="icon" type="string">
L’icône à afficher.
Options:
* [Font Awesome](https://fontawesome.com/icons) nom d’icône, si vous avez la propriété `icons.library` [paramètres](/fr/organize/settings#param-icons) définie sur `fontawesome` dans votre `docs.json`
* [Lucide](https://lucide.dev/icons) nom d’icône, si vous avez la propriété `icons.library` [paramètres](/fr/organize/settings#param-icons) définie sur `lucide` dans votre `docs.json`
* [Tabler](https://tabler.io/icons) nom d’icône, si vous avez la propriété `icons.library` [paramètres](/fr/organize/settings#param-icons) définie sur `tabler` dans votre `docs.json`
* URL vers une icône hébergée en externe
* Chemin vers un fichier d’icône dans votre projet
* Code SVG entouré d’accolades
Pour les icônes SVG personnalisées:
1. Convertissez votre SVG avec le [convertisseur SVGR](https://react-svgr.com/playground/).
2. Collez votre code SVG dans le champ d’entrée SVG.
3. Copiez l’élément complet `<svg>...</svg>` depuis le champ de sortie JSX.
4. Enveloppez le code SVG compatible JSX dans des accolades : `icon={<svg ...> ... </svg>}`.
5. Ajustez `height` et `width` selon vos besoins.
</ResponseField>
<ResponseField name="iconType" type="string">
Le style d’icône [Font Awesome](https://fontawesome.com/icons). Utilisé uniquement avec les icônes Font Awesome.
Options: `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, `brands`.
</ResponseField>