Files
nanocode/RetroUI/content/docs/components/input.mdx
T
Ubuntu 32b43f85bd a
2026-07-03 16:58:28 +08:00

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 />