← Back to components

Input

A styled input component with label and different states

Form
Created by Maria Garcia
4.9 rating
892 downloads

Preview

Enter your email address.

How to use

import { GrainInput } from "@/components/demos/grain-input"

export default function MyForm() {
  return (
    <form>
      <GrainInput />
    </form>
  )
}

Note: Make sure you have the required dependencies installed and the necessary UI components imported in your project. The component uses Tailwind CSS for styling and may require additional setup based on your project configuration.