Button
A custom button component.
Installation
Copy the following code into your app directory.
buridan add component buttonUsage
Make sure to correctly set your imports relative to the component.
from components.base_ui.button import button
Examples
Below are examples demonstrating how the component can be used.
Sizes
Showcases buttons in different predefined sizes (default, small, large, icon, etc).
Default
The default visual style for buttons with standard background and hover effects.
Secondary
A more muted alternative to the default button, useful for less prominent actions.
Outline
Buttons with a bordered outline, blending well with minimal UIs or light themes.
Ghost
A button style with no background or border, ideal for subtle UI actions.
Link
A button styled to look like a hyperlink — useful for inline actions or navigation.
Destructive
A bold style used for destructive or dangerous actions like “Delete”.
Icon
Examples showing icon-only buttons with varying sizes for compact UI elements.