DSFR v1.12.1
Le package core est utilisé comme fondation du Design System, il contient plusieurs éléments fondamentaux.
### Typographie
Les typographies Marianne® et Spectral sont les typographies officielles de la charte de l'État. Leur usage crée une cohérence entre les interfaces et offre une expérience positive à l’utilisateur. Leur respect renforce également la reconnaissance de la parole de l’État.
### Icônes
Les icônes fonctionnelles sont des symboles visuels qui accompagnent l’utilisateur dans ses actions et qui aident à sa compréhension de l’interface.
### Icônes de favoris - Favicon
L’icône de favoris est un petit icône associé à un site web. Il permet à l’utilisateur de repérer qu’il se trouve sur un site de l'état.
### Medias
Les médias désignent vos contenus photos et vidéos. Lorsqu’ils sont intégré à une page de contenu, il est recommandé de suivre les règles décrites ci-dessous.
### Grille
La grille proposée par le design system vous permet de structurer vos pages et vos contenus simplement.
<div class="fr-container">
<div class="fr-grid-row">
<div class="fr-col-12">
<div class="col-demo">Lorem [...] elit ut.</div>
</div>
<div class="fr-col">
<div class="col-demo">col</div>
</div>
<div class="fr-col">
<div class="col-demo">col</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row">
<div class="fr-col">
<div class="col-demo">1/4</div>
</div>
<div class="fr-col">
<div class="col-demo">1/4</div>
</div>
<div class="fr-col">
<div class="col-demo">1/4</div>
</div>
<div class="fr-col">
<div class="col-demo">1/4</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row">
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col-12">
<div class="col-demo">Lorem [...] elit ut.</div>
</div>
<div class="fr-col">
<div class="col-demo">col</div>
</div>
<div class="fr-col">
<div class="col-demo">col</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col">
<div class="col-demo">1/4</div>
</div>
<div class="fr-col">
<div class="col-demo">1/4</div>
</div>
<div class="fr-col">
<div class="col-demo">1/4</div>
</div>
<div class="fr-col">
<div class="col-demo">1/4</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
<div class="fr-col">
<div class="col-demo">1/6</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row">
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-2">
<div class="col-demo">2/12</div>
</div>
<div class="fr-col-4">
<div class="col-demo">4/12</div>
</div>
<div class="fr-col-5">
<div class="col-demo">5/12</div>
</div>
<div class="fr-col-7">
<div class="col-demo">7/12</div>
</div>
<div class="fr-col-9">
<div class="col-demo">9/12</div>
</div>
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-5">
<div class="col-demo">5/12</div>
</div>
<div class="fr-col-5">
<div class="col-demo">5/12</div>
</div>
<div class="fr-col-2">
<div class="col-demo">2/12</div>
</div>
<div class="fr-col-12">
<div class="col-demo">12/12</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-2">
<div class="col-demo">2/12</div>
</div>
<div class="fr-col-4">
<div class="col-demo">4/12</div>
</div>
<div class="fr-col-5">
<div class="col-demo">5/12</div>
</div>
<div class="fr-col-7">
<div class="col-demo">7/12</div>
</div>
<div class="fr-col-9">
<div class="col-demo">9/12</div>
</div>
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-5">
<div class="col-demo">5/12</div>
</div>
<div class="fr-col-5">
<div class="col-demo">5/12</div>
</div>
<div class="fr-col-2">
<div class="col-demo">2/12</div>
</div>
<div class="fr-col-12">
<div class="col-demo">12/12</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row">
<div class="fr-col-8">
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col-6">
<div class="col-demo">6/12</div>
</div>
<div class="fr-col-6">
<div class="col-demo">6/12</div>
</div>
</div>
</div>
<div class="fr-col-4">
<div class="col-demo">4/12</div>
</div>
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-6">
<div class="fr-grid-row">
<div class="fr-col-4">
<div class="col-demo">4/12</div>
</div>
<div class="fr-col-4">
<div class="col-demo">4/12</div>
</div>
<div class="fr-col-4">
<div class="col-demo">4/12</div>
</div>
</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col-8">
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col-6">
<div class="col-demo">6/12</div>
</div>
<div class="fr-col-6">
<div class="col-demo">6/12</div>
</div>
</div>
</div>
<div class="fr-col-4">
<div class="col-demo">4/12</div>
</div>
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-6">
<div class="fr-grid-row">
<div class="fr-col-4">
<div class="col-demo">4/12</div>
</div>
<div class="fr-col-4">
<div class="col-demo">4/12</div>
</div>
<div class="fr-col-4">
<div class="col-demo">4/12</div>
</div>
</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row--top fr-grid-row fr-grid-row--gutters fr-grid-row fr-grid-row--gutters">
<div class="fr-col-3">
<div class="col-demo">align top</div>
</div>
<div class="fr-col-3">
<div class="col-demo">Lorem [...] elit ut.</div>
</div>
<div class="fr-col-3">
<div class="col-demo">align top</div>
</div>
<div class="fr-col-3">
<div class="col-demo">align top</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row--bottom fr-grid-row fr-grid-row--gutters fr-grid-row fr-grid-row--gutters">
<div class="fr-col-3">
<div class="col-demo">align bottom</div>
</div>
<div class="fr-col-3">
<div class="col-demo">Lorem [...] elit ut.</div>
</div>
<div class="fr-col-3">
<div class="col-demo">align bottom</div>
</div>
<div class="fr-col-3">
<div class="col-demo">align bottom</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row--middle fr-grid-row fr-grid-row--gutters fr-grid-row fr-grid-row--gutters">
<div class="fr-col-3">
<div class="col-demo">align middle</div>
</div>
<div class="fr-col-3">
<div class="col-demo">Lorem [...] elit ut.</div>
</div>
<div class="fr-col-3">
<div class="col-demo">align middle</div>
</div>
<div class="fr-col-3">
<div class="col-demo">align middle</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col-3">
<div class="col-demo">Lorem [...] elit ut.</div>
</div>
<div class="fr-col--top fr-col-3 fr-col-3">
<div class="col-demo">align top</div>
</div>
<div class="fr-col--middle fr-col-3 fr-col-3">
<div class="col-demo">align middle</div>
</div>
<div class="fr-col--bottom fr-col-3 fr-col-3">
<div class="col-demo">align bottom</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row--left fr-grid-row fr-grid-row--gutters fr-grid-row fr-grid-row--gutters">
<div class="fr-col-3">
<div class="col-demo">align left</div>
</div>
<div class="fr-col-3">
<div class="col-demo">align left</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row--right fr-grid-row fr-grid-row--gutters fr-grid-row fr-grid-row--gutters">
<div class="fr-col-3">
<div class="col-demo">align left</div>
</div>
<div class="fr-col-3">
<div class="col-demo">align left</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row--center fr-grid-row fr-grid-row--gutters fr-grid-row fr-grid-row--gutters">
<div class="fr-col-3">
<div class="col-demo">align center</div>
</div>
<div class="fr-col-3">
<div class="col-demo">align center</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-3 fr-col-offset-3">
<div class="col-demo">3/12</div>
</div>
<div class="fr-col-3">
<div class="col-demo">3/12</div>
</div>
</div>
</div>
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col-12 fr-col-sm-10 fr-col-md-8 fr-col-lg-6 fr-col-xl-4">
<div class="col-demo">12 / sm-10 / md-8 / lg-6 / xl-4</div>
</div>
</div>
</div>
<div class="fr-container--fluid">
<div class="fr-grid-row">
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
<div class="fr-col-1">
<div class="col-demo">1/12</div>
</div>
</div>
</div>