1.0.2 • Published 2 months ago

desy-react v1.0.2

Weekly downloads
-
License
EUPL-1.2
Repository
bitbucket
Last release
2 months ago

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/