--- title: Exporter description: Rendez des fichiers .fig en PNG, JPG, WEBP, SVG ou JSX avec classes Tailwind. --- # Exporter Exportez des designs depuis le terminal — images raster, vecteurs ou code JSX. ## Export d'images ```sh openpencil export design.fig # PNG (par défaut) openpencil export design.fig -f jpg -s 2 -q 90 # JPG en 2×, qualité 90 openpencil export design.fig -f webp -s 3 # WEBP en 3× openpencil export design.fig -f svg # SVG vectoriel ``` Options : - `-f` — format : `png`, `jpg`, `webp`, `svg`, `jsx` - `-s` — échelle : `1`–`4` - `-q` — qualité : `0`–`100` (JPG/WEBP uniquement) - `-o` — chemin de sortie - `--page` — nom de la page - `--node` — identifiant de nœud spécifique ## Export JSX Exportez en JSX avec des classes utilitaires Tailwind : ```sh openpencil export design.fig -f jsx --style tailwind ``` Résultat : ```html
Card Title
Description text