DSFR Icon Component (icon/Icon.stories.tsx)

react-dsfr · src/components/foundation/icon/Icon.stories.tsx · typescript · MIT
ui, tag:dsfr

Provides functional icons from Remixicon for the French government design system, supporting size, position, title, and color customization.

// Source: https://github.com/dataesr/react-dsfr | License: MIT | Copyright 2021 #dataESR
// Provided via justclaw.it.com; keep this notice with the code.
import { Story } from '@storybook/react/types-6-0';

import Icon, { IconProps } from './Icon';

// https://www.systeme-de-design.gouv.fr/elements-d-interface/fondamentaux-techniques/icone

export default {
  title: 'Fondamentaux Techniques/Icône - icon',
  component: Icon,
  parameters: {
    docs: {
      description: {
        component: "Les icônes fonctionnelles sont des symboles visuels qui accompagnent l’utilisateur dans ses actions et qui aident à sa compréhension de l’interface. Dans cette version, toutes les icônes de remixicon sont acceptées. Une nouvelle version est en court de développement pour correspondre aux icônes attend

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key