Skip to main content

TextInput

Single-line text input component with label and placeholder support.

note

TextInput is exported as Input in @scaffald/ui.

Import​

import { Input } from '@scaffald/ui';

Basic Usage​

Live Preview
<ThemeProvider initialTheme="light">
<Input label="Email" placeholder="you@example.com" />
</ThemeProvider>

Props​

See the TypeScript definitions for the complete props API.

Accessibility​

  • Keyboard navigation support
  • Screen reader compatible
  • ARIA attributes included

Changelog​

See GitHub Releases for version history.