Styled Button Components
Description
The Button
component in Liberty Core is a styled button that provides consistent theming and behavior across applications. The framework also includes multiple predefined Button
components for specific use cases.
Props
Prop | Type | Default | Description |
---|---|---|---|
variant |
"text", "contained", "outlined" |
"text" |
Defines the button's appearance. |
disabled |
boolean |
false |
Disables the button when set to true. |
size |
"small", "medium", "large" , "medium" |
Defines the size of the button. | |
onClick |
() => void |
undefined |
Callback function triggered when clicked. |
Example Usage
Basic Styled Button
Predefined Styled Buttons
Liberty Core provides a collection of predefined styled Button
components to simplify UI development.
General Styled Buttons
Button_Login
Button_UISettings
Button_TableImport
Button_Tools
Button_Popper
Detailed Predefined Buttons
Button_Login
Used for login forms with hover effects and scaling.
Button_UISettings
Styled button for user interface settings.
Button_TableImport
A button designed for importing data into tables.
Button_Tools
A prominent button for tool-related actions with custom padding and border-radius.
Button_Popper
A floating button positioned at the bottom-right corner of the UI.
Useful Links
🔗 GitHub Repository (Core): Liberty Core
🔗 GitHub Repository (Test Project): Liberty Test
📖 Live Documentation: Liberty Core Docs
💖 Sponsor & Support: Sponsor Liberty Core