@zendeskgarden/react-textfields

Components relating to text fields in the Garden Design System

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@zendeskgarden/react-textfields
1,025116.9.23 years ago4 years agoMinified + gzip package size for @zendeskgarden/react-textfields in KB

Readme

@zendeskgarden/react-textfields npm version
This package includes components relating to textfields in the Garden Design System.

DEPRECATION WARNING

This package has been deprecated in favor of the API provided in the @zendeskgarden/react-forms package.
This package will stop receiving updates in a future major release.

Installation

npm install @zendeskgarden/react-textfields

# Peer Dependencies - Also Required
npm install react react-dom prop-types styled-components @zendeskgarden/react-theming

Usage

```jsx static / Include textfield styling at the root of your application / import '@zendeskgarden/react-textfields/dist/styles.css';
import { ThemeProvider } from '@zendeskgarden/react-theming'; import { TextField, Label, Hint, Input, Message } from '@zendeskgarden/react-textfields';
/
Place a ThemeProvider at the root of your React application /
<Label>Example Garden Input</Label>
<Hint>Hinty hint</Hint>
<Input placeholder="Accepts all native input props" />
<Message>Default message styling</Message>
; ```