# Floating Label Input

> Label sits inside the field at rest, floats up + shrinks on focus or when filled. Cross-platform parity API.
> Source: https://otf-kit.dev/components/floating-label-input

## At a glance

- **Platform:** Web (React)
- **Category:** Input
- **Package:** `@otfdashkit/ui` (free, MIT)
- **Tags:** form, label, animation

## Install

```bash
bun add @otfdashkit/ui
```

## Usage

```tsx
import { FloatingLabelInput } from '@otfdashkit/ui'
```

The `<FloatingLabelInput>` component ships the same prop API on web (`@otfdashkit/ui`) and native (`@otfdashkit/ui-native`) where a parity version exists.

## Links

- Live preview + code: https://otf-kit.dev/components/floating-label-input
- Storybook: https://ui.otf-kit.dev
- All components: https://otf-kit.dev/components
