Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flexi-button

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flexi-button

A highly customizable button component for Angular v19.x

  • 19.0.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
804
increased by2992.31%
Maintainers
0
Weekly downloads
 
Created
Source

Flexi Button

A highly customizable button component for Angular v19.x

Features

  • Supports text, icon, or both
  • Integration with Google Material Symbols for icons
  • Customizable size, color, and rounded corners
  • Built-in loading state

Installation

Install the package using npm

npm i flexi-button

Usage

1. Button with Text

Create a button with text

<flexi-button btnColor="primary" btnText="Print" btnSize="medium">
2. Button with Icon

You can use any icon from Google Material Symbols.

<flexi-button btnIcon="print" btnColor="primary" title="Print" flexiToolTip btnSize="medium">
3. Button with Icon and Text

Combine text and an icon in the same button

<flexi-button btnIcon="print" btnColor="primary" btnText="Print" btnSize="medium">
4. Rounded Button

Make the button corners rounded

<flexi-button btnIcon="print" btnColor="primary" btnText="Print" btnSize="medium" [btnRounded]="true">
4. Button with Loading State

Display a loading spinner instead of the button's content

<flexi-button btnColor="primary" btnSize="medium" [loading]="true">

Inputs Reference

Inputs Reference

Input NameTypeDescription
btnColorstringButton color. Available values: light, primary, success, danger, warning, info, dark, indigo, purple, pink, teal, yellow, secondary, black, white.
titlestringText displayed on the button as a tooltip instead of btnText.
btnTextstringText displayed on the button (use title for tooltip functionality instead).
btnIconstringIcon name from Google Material Symbols.
btnSizestringButton size (e.g., small, medium, large).
btnRoundedbooleanWhether the button should have rounded corners.
flexiToolTipstringTooltip text displayed when hovering over the button.
loadingbooleanDisplays a loading spinner if set to true.

FAQs

Package last updated on 24 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc