47 lines
813 B
Plaintext
47 lines
813 B
Plaintext
---
|
|
title: Input
|
|
description: This pretty input makes your users want to type stuff! ⌨️
|
|
lastUpdated: 09 Sep, 2025
|
|
links:
|
|
source: https://github.com/logging-studio/RetroUI/blob/main/components/retroui/Input.tsx
|
|
---
|
|
|
|
<ComponentShowcase name="input-style-default" />
|
|
<br />
|
|
<br />
|
|
|
|
## Installation
|
|
|
|
<ComponentInstall>
|
|
<ComponentInstall.Cli npmCommand="npx shadcn@latest add @retroui/input" />
|
|
<ComponentInstall.Manual>
|
|
|
|
#### 1. Copy the code 👇 into your project:
|
|
|
|
<ComponentSource name="input" />
|
|
|
|
</ComponentInstall.Manual>
|
|
</ComponentInstall>
|
|
|
|
<br />
|
|
<br />
|
|
|
|
## Examples
|
|
|
|
### Default
|
|
|
|
<ComponentShowcase name="input-style-default" />
|
|
<br />
|
|
<br />
|
|
|
|
### With label
|
|
|
|
<ComponentShowcase name="input-style-with-label" />
|
|
<br />
|
|
<br />
|
|
|
|
### Error
|
|
|
|
<ComponentShowcase name="input-style-error" />
|
|
<br />
|