---
type: ai-agent-documentation
version: 2.0
component: Input
status: stable
audience: ai-coding-agents-only
human-readable: false
category: forms
framework-support:
- vanilla: true
- react: true
- vue: true
- angular: true
- svelte: true
---
# Component: Input
DEFINITION: The Input component provides styled, accessible, and framework-agnostic form controls. It is a CSS-only component, meaning it relies on standard HTML elements and CSS classes for styling and behavior.
## Installation
```bash
npm install @pm7/core
```
### CSS Import
REQUIRED: Import CSS from `@pm7/core/dist/pm7.css`
NEVER: Import from `@pm7/core/dist/index.css`
```javascript
// ES modules
import '@pm7/core/dist/pm7.css';
// HTML
```
## Required Structure
The most basic implementation of a PM7 Input requires a standard HTML `` element with the `.pm7-input` class.
```html
```
### Structural Rules
- **ALWAYS**: For accessible forms, wrap the input and its corresponding `