Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

wired-fab

v1.0.0arrow_drop_down
v1.0.0
v0.9.2
STATUS
Passing
DOWNLOADS
4
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 months ago
SIZE
13 KB
subject
Hand-drawn sketchy Floating Action Button (FAB)
1 contributor
Use wired-fab in your project ?
Copied
npm i @bit/wiredjs.wired-elements.wired-fab
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
modifieddraft
chevron_left
chevron_right

wired fab

wired-fab

Hand-drawn sketchy Floating Action Button (FAB)

For demo and view the complete set of wired-elememts: wiredjs.com

Usage

Add wired-fab to your project:

npm i wired-fab

Import wired-fab definition into your HTML page:

<script type="module" src="wired-fab/lib/wired-fab.js"></script>

Or into your module script:

import { WiredFab } from "wired-fab"

Use it in your web page:

<wired-fab id="btn1">favorite</wired-fab>
<wired-fab id="btn2" class="red">close</wired-fab>

Properties

disabled - disables the button. Default value is false.

Custom CSS Properties

–wired-fab-bg-color - Background color of the fab. Default value is #018786. Foreground color is set by setting the color css property.

Events

click - When button is clicked/submitted

License

MIT License © Preet Shihn