decanter
Version:
Design System Tailwind CSS Preset.
24 lines (15 loc) • 595 B
Markdown
# Input
**File**: `/src/plugins/components/form/input.js`
## Overview
Provides base styles for input elements to ensure consistent typography and appearance.
## Generated CSS Classes
- `.input` - Base input styling with Stanford design system colors, typography, and borders
## Usage
```html
<label for="email">Email Address</label>
<input type="email" id="email" class="input" placeholder="Enter your email">
<label for="name">Full Name</label>
<input type="text" id="name" class="input" required>
<label for="phone">Phone Number</label>
<input type="tel" id="phone" class="input">
```