button

v1.5.0arrow_drop_down
v1.5.0
v1.4.0
v1.3.0
v1.2.1
v1.2.0
v1.1.0
v1.0.2
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
4,857
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
5 KB
Button component with click effect and built in loader.
1 contributor
Install button as a package?
Copied
npm i @bit/bit.evangelist.elements.button
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
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';
toggle layout
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
chevron_left
chevron_right
Button ()

Button component with click effect and built in loader. Supports all props from native html button.

Example
<Button importance="cta" elevation="medium" loading loader={<Loader/>}>Click me!</Button>
Properties
NameTypeDefault valueDescription
elevation
'none' | 'low' | 'medium' | 'high''low'

style the button with shadow and click effect.

importance
'normal' | 'ghost' | 'cta' | 'muted''normal'

style variance ('cta’, ‘normal’)

Help and resources