check
Code copied to clipboard.
close
menu
menu_open
menu

LkButtonProps

Describes props for the button component.

Scope

Global
Local

Kind

Interface
Type

Source Code

content_copy

export interface LkButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {

 label?: string;

 variant?: "fill" | "outline" | "text";

 color?: LkColorWithOnToken;

 size?: "sm" | "md" | "lg";

 material?: string;

 startIcon?: IconName;

 endIcon?: IconName;

 opticIconShift?: boolean;

 modifiers?: string;

 stateLayerOverride?: LkStateLayerProps; // Optional override for state layer properties

}

Related Components

Components that use this type.

Related Types

Types with similar roles.

No items found.