Components
AI Button
A gradient call-to-action button for AI-powered actions.
Installation
npx shadcn@latest add https://ai-native-ui.com/r/ai-button.jsonUsage
import { AIButton } from "@/components/ui/ai-button";
<AIButton onClick={() => generate()}>Create With AI</AIButton>;Props
| Prop | Type | Description |
|---|---|---|
children | ReactNode | Label. Defaults to "Create With AI". |
size | "sm" | "md" | "lg" | Button size. |
hideIcon | boolean | Hide the leading sparkle. |
...button | ButtonHTMLAttributes | All native button props (onClick, disabled, …). |