desy-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Desy React

desy-react is a NPM library to start building a user interface for Gobierno de Aragón webapps made with React.

See live examples of desy-html components: https://desy.aragon.es/

How to start the project

  • Run pnpm install first.

  • Use pnpm storybook

  • Dependencies: Node.js v18.17.1, Tailwind CSS and AutoPrefixer configed in PostCSS

How to use it as package

Install desy-react with your preferred package manager. Once is istalled you have to import tawilwind config defined by desy-react like this:

const uiConfig = require('desy-react/tailwind.config.js')

You also have to import desy-react styles in your css files.

Once this is done you can import components from desy react like this.

import { Button } from 'desy-react'

Contact the team

  • desy-react is maintained by a team at SDA Servicios Digitales de Aragón (Spain). If you want to know more about desy-react, please email any of the commiters.

Software license

Unless stated otherwise, the codebase is released under the EUPL-1.2 License. This covers both the codebase and any sample code in the documentation.

Thanks

This project is built upon Radix project: https://github.com/radix-ui/

And DESY Design System: https://desy.aragon.es/

Package Sidebar

Install

npm i desy-react

Weekly Downloads

5

Version

1.0.6

License

EUPL-1.2

Unpacked Size

342 kB

Total Files

9

Last publish

Collaborators

  • jmcuadra
  • amarincolas
  • aurquia
  • bsanz