← Back to components

Button

A customizable button component with multiple variants and sizes

Form
Created by Grain UI Team
4.8 rating
1,234 downloads

Preview

How to use

import { GrainButton } from "@/components/demos/grain-button"

export default function MyComponent() {
  return (
    <div>
      <GrainButton />
    </div>
  )
}

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.