Inputs

Button

A versatile button component with multiple variants and sizes. Supports loading and disabled states.

LlmButton

Demo

<LlmButton variant="primary">Primary</LlmButton>
<LlmButton variant="secondary">Secondary</LlmButton>
<LlmButton variant="outline">Outline</LlmButton>
<LlmButton loading={true}>Loading</LlmButton>
<LlmButton disabled={true}>Disabled</LlmButton>

API

PropTypeDefaultDescription
variant'primary' | 'secondary' | 'outline''primary'Visual style variant
size'sm' | 'md' | 'lg''md'Size of the button
disabledbooleanfalseDisables the button
loadingbooleanfalseShows a loading spinner, disables interaction

Import

import { LlmButton } from '@atelier-ui/react';