Home

Awesome

Garden React Components Build Status Coverage Status<!-- markdownlint-disable -->

<!-- markdownlint-enable -->

:seedling: Garden is the design system by Zendesk

Garden React provides consistent styling and behavior for Garden components. React components are maintained following a multi-package approach where components are packaged and published individually, but combined under this single repository.

Installation

See the individual package README for the React component you would like to install.

PackageVersionSize
@zendeskgarden/react-accordionsnpm versionBundle Size
@zendeskgarden/react-avatarsnpm versionBundle Size
@zendeskgarden/react-breadcrumbsnpm versionBundle Size
@zendeskgarden/react-buttonsnpm versionBundle Size
@zendeskgarden/react-chromenpm versionBundle Size
@zendeskgarden/react-colorpickersnpm versionBundle Size
@zendeskgarden/react-datepickersnpm versionBundle Size
@zendeskgarden/react-draggablenpm versionBundle Size
@zendeskgarden/react-dropdowns.legacynpm versionBundle Size
@zendeskgarden/react-dropdownsnpm versionBundle Size
@zendeskgarden/react-formsnpm versionBundle Size
@zendeskgarden/react-gridnpm versionBundle Size
@zendeskgarden/react-loadersnpm versionBundle Size
@zendeskgarden/react-modalsnpm versionBundle Size
@zendeskgarden/react-notificationsnpm versionBundle Size
@zendeskgarden/react-paginationnpm versionBundle Size
@zendeskgarden/react-tabsnpm versionBundle Size
@zendeskgarden/react-tablesnpm versionBundle Size
@zendeskgarden/react-tagsnpm versionBundle Size
@zendeskgarden/react-themingnpm versionBundle Size
@zendeskgarden/react-tooltipsnpm versionBundle Size
@zendeskgarden/react-typographynpm versionBundle Size

Usage

Garden React packages are ready to use in a Create React App environment or together with standard Rollup or webpack build configurations.

Here is a simple example to get you started:

import React from 'react';
import ReactDOM from 'react-dom';
import { ThemeProvider } from '@zendeskgarden/react-theming';
import { Button } from '@zendeskgarden/react-buttons';

const App = () => (
  /* Include a ThemeProvider wrapper at the root of your app */
  <ThemeProvider>
    <Button>Example Garden button</Button>
  </ThemeProvider>
);

ReactDOM.render(<App />, document.getElementById('root'));

Check out more Garden React components in this sandbox IDE:

Edit Garden CodeSandbox

Documentation

See Garden's documentation website or click the links below to learn more.

Contribution

Thanks for your interest in Garden! Community involvement helps make our design system fresh and tasty for everyone.

Got issues with what you find here? Please feel free to create an issue.

If you'd like to take a crack at making some changes, please follow our contributing documentation for details needed to submit a PR.

Community behavior is benevolently ruled by a code of conduct. Please participate accordingly.

License

Copyright 2021 Zendesk

Licensed under the Apache License, Version 2.0