Skip to content

aragon/gov-ui-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cc33dce · Jul 12, 2023

History

49 Commits
Jul 11, 2023
Jul 6, 2023
Jul 10, 2023
Jul 11, 2023
Jul 11, 2023
Jul 6, 2023
Jul 5, 2023
Jul 11, 2023
Jul 5, 2023
Jul 7, 2023
Jul 5, 2023
Jul 12, 2023
Jul 5, 2023
Jul 6, 2023
Jul 5, 2023
Jul 11, 2023
Jul 11, 2023
Jul 6, 2023
Jul 12, 2023
Jul 6, 2023
Jul 11, 2023
Jul 12, 2023
Jul 11, 2023
Jul 7, 2023
Jul 11, 2023

Repository files navigation

Aragon

Aragon websiteDeveloper PortalJoin our Developer CommunityContribute


Aragon ODS

Aragon Open Design System (Aragon ODS) is an open source and human-centric design system specifically designed for the Aragon App. It provides a unified and easy-to-use framework for creating visually consistent and engaging interfaces that prioritize user experience throughout the Aragon ecosystem. Aragon ODS is currently in alpha version, with documentation updates planned for Q2. The developed components are expected to be available in the coming months.

Installation

Install the @aragon/ods library and using yarn or npm:

Yarn:

yarn add @aragon/ods tailwindcss tailwindcss-fluid-type

Npm:

npm install @aragon/ods tailwindcss tailwindcss-fluid-type

NOTE: react and react-dom are also required to correctly use the library:

"peerDependencies": {
    "react": ">=17",
    "react-dom": ">=17",
},

Usage

Import the @aragon/ods library on your application and use the components:

import React from 'react';
import { Tag } from '@aragon/ods';

export default function App() {
    return (
        <div>
            <Tag colorScheme="primary">My label</Tag>
        </div>
    );
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GPL-V3