Skip to content

digdir/digdir-ai-components

Repository files navigation

Digdir AI Components

React components for AI applications.

Overview

These components are located in the following directories:

  • src/Common - Components for production use
  • src/Brui - Components from the FEL Brui project
  • src/Studio - Components from the BOD Altinn Studio project

We consolidate components by starting with individual implementations from each project and identifying commonalities to create shared, reusable components.

Getting Started

Installation

yarn

Development

View components in Storybook:

yarn storybook

Opens automatically at http://localhost:6006

Run tests:

yarn test

Lint code:

yarn lint

Build Storybook:

yarn build-storybook

Tech Stack

  • React 19 with TypeScript
  • Storybook for component documentation and development
  • @digdir/designsystemet for design system components
  • ESLint with TypeScript, React Hooks, and Storybook plugins
  • Vite for bundling and test infrastructure
  • Vitest for unit testing with jsdom

About

React components for AI applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •