www/apps/ui/app/components/input/page.mdx
import { ComponentExample } from "@/components/ComponentExample" import { ComponentReference } from "@/components/ComponentReference"
export const metadata = {
title: Input,
}
A component that renders a form input field using Medusa's design system.
In this guide, you'll learn how to use the Input component.
<ComponentExample name="input-demo" />import { Input } from "@medusajs/ui"
<Input placeholder="Placeholder" id="input-id" />
You can leverage the native aria-invalid property to show an error state on your input: