# @atlaskit/field-base

> Wraps fields and provides styles for focus/hover states

Latest version **15.2.4** (published 2023-08-21) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @atlaskit/field-base
pnpm add @atlaskit/field-base
yarn add @atlaskit/field-base
bun add @atlaskit/field-base
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 15.2.4 |
| Published | 2023-08-21 |
| First published | 2017-01-29 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 98.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Atlassian Pty Ltd |
| Maintainers | atlaskit |
| Keywords | atlaskit, react, ui |

## Links

- npm: https://www.npmjs.com/package/@atlaskit/field-base
- Repository: https://bitbucket.org/atlassian/atlassian-frontend
- Homepage: https://bitbucket.org/atlassian/atlassian-frontend#readme
- Issues: https://bitbucket.org/atlassian/atlassian-frontend/issues
- npm.io page: https://npm.io/package/@atlaskit/field-base

## Dependencies (5)

- [@atlaskit/icon](https://npm.io/package/@atlaskit/icon.md) ^21.12.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.0.0
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) ^12.5.0
- [@atlaskit/spinner](https://npm.io/package/@atlaskit/spinner.md) ^15.5.0
- [@atlaskit/inline-dialog](https://npm.io/package/@atlaskit/inline-dialog.md) ^13.6.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 15.2.4 (latest) — 2023-08-21
- 15.2.2 (next) — 2023-05-17
- 15.2.3 — 2023-07-15
- 15.2.1 — 2023-05-15
- 15.2.0 — 2023-05-08
- 15.1.0 — 2023-04-27
- 15.0.7 — 2023-04-19
- 15.0.6 — 2021-09-16
- 15.0.5 — 2021-07-16
- 15.0.4 — 2020-11-19
- 15.0.3 — 2020-10-02
- 15.0.2 — 2020-08-27
- 15.0.1 — 2020-08-24
- 15.0.0 — 2020-07-02
- 14.0.5 — 2020-06-25
- … 113 more at https://npm.io/package/@atlaskit/field-base/versions

## README

# FieldBase

This component contains all the common behaviour and styles for fields

FieldBase provides an Atlassian Design Guidelines compatible implementation for:

- Labels: spacing, margins, accessibility.
- Fields: sizing, borders, colors, wrapping behaviour, hover/focus states.
- Validation: styles (built in validation coming soon!)

FieldBase components _will_ work by themselves, but are really meant to be extended into a full field component.

## Installation

```sh
yarn add @atlaskit/field-base
```

## Usage

Detailed docs and example usage can be found [here](https://atlaskit.atlassian.com/packages/core/field-base).

---
_Source: https://npm.io/package/@atlaskit/field-base · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
