DeleteButton
DeleteButton component is a stand-alone element that can be used in different contexts.
How it works #
The DeleteButton component provides a simple, reusable button for delete actions, following the Bulma design system. It is typically used to allow users to remove items, dismiss notifications, or trigger delete operations in your UI.
How to use:
This demo shows the default usage of the
How to use:
- Add the
DeleteButtoncomponent to your page where a delete or close action is needed. - Optionally, handle its
onclickevent to perform custom logic when the button is pressed. - Style or position the button as needed within your layout.
DeleteButton component, making it easy to integrate a consistent delete action into your application.
<DeleteButton />Sizes #
The DeleteButton component supports multiple sizes to fit different UI contexts. You can specify the size using the
How to use:
This demo illustrates the available size options for the
Size parameter with values such as Small, Medium, or Large.
How to use:
- Set the
Sizeparameter on theDeleteButtonto adjust its appearance. For example:<DeleteButton Size="DeleteButtonSize.Small" />. - If no size is specified, the button uses the default size.
- Choose the size that best matches your design requirements.
DeleteButton component, helping you select the appropriate size for your use case.
<DeleteButton Size="DeleteButtonSize.Small" />
<DeleteButton />
<DeleteButton Size="DeleteButtonSize.Medium" />
<DeleteButton Size="DeleteButtonSize.Large" />