Aller au contenu principal

Styled Icon Button Components

Description

The IconButton components are predefined styled buttons built on top of the IconButton from Liberty Core. These buttons are customized for various use cases in UI interactions.

Props

The following IconButton variants are available:

Component NameDescription
IconButton_ContrastA high-contrast icon button that scales on hover.
IconButton_MenusPositioned for menu interactions with hover effects.
IconButton_ListBottomA floating button at the bottom-right of the page.
IconButton_TabCloseA circular button for closing tabs with hover effects.
IconButton_AlertA minimal button for alerts with centered alignment.

Example Usage

Basic Styled Icon Buttons

import { IconButton_Contrast, IconButton_Menus, IconButton_ListBottom } from '@nomana-it/liberty-core';

export const IconButtonExample = () => {
return (
<>
<IconButton_Contrast>🔍</IconButton_Contrast>
<IconButton_Menus>📋</IconButton_Menus>
<IconButton_ListBottom>⬇️</IconButton_ListBottom>
</>
);
};

Styled Icon Button Components

  • IconButton_Contrast
  • IconButton_Menus
  • IconButton_ListBottom
  • IconButton_TabClose
  • IconButton_Alert

Notes

  • These components ensure consistent styling for icon buttons across the UI.
  • They inherit all behaviors from the standard IconButton component.
  • The hover effects enhance usability with scaling and color transitions.

🔗 GitHub Repository (Core): Liberty Core
🔗 GitHub Repository (Test Project): Liberty Test
📖 Live Documentation: Liberty Core Docs
💖 Sponsor & Support: Sponsor Liberty Core