A styled button with variant and size presets.
Accepts all standard <button> HTML attributes in addition to the props listed below.
<button>
Visual style ("default" | "secondary" | "ghost"). Defaults to "default".
"default"
"secondary"
"ghost"
import { Button } from "@alexkroman1/aai-ui";function Actions({ onStop }: { onStop: () => void }) { return ( <> <Button variant="secondary" onClick={onStop}>Stop</Button> <Button size="lg" className="w-full">Start Conversation</Button> </> );} Copy
import { Button } from "@alexkroman1/aai-ui";function Actions({ onStop }: { onStop: () => void }) { return ( <> <Button variant="secondary" onClick={onStop}>Stop</Button> <Button size="lg" className="w-full">Start Conversation</Button> </> );}
A styled button with variant and size presets.
Accepts all standard
<button>HTML attributes in addition to the props listed below.