Skip to main content

Module button

Module button 

Source
Expand description

Button component with shadcn/ui styling

Provides variants following shadcn/ui conventions:

  • Default: Primary background, high emphasis
  • Secondary: Secondary background, medium emphasis
  • Outline: Border with transparent background
  • Ghost: No background, hover shows accent
  • Link: Text style with underline on hover

Re-exports§

pub use ButtonVariant as Variant;

Structs§

Button
Button component styled like shadcn/ui

Enums§

ButtonSize
Button size following shadcn/ui
ButtonVariant
Button style variant following shadcn/ui