button

v0.88.2arrow_drop_down
v0.88.2
v0.86.0
v0.85.0
v0.84.0
STATUS
Passing
DOWNLOADS
25,441
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 years ago
SIZE
84 KB
A Button indicates a possible user action
1 contributor
Install button as a package?
Copied
npm i @bit/semantic-org.semantic-ui-react.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
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
chevron_left
chevron_right

Called after user’s click.

A Button indicates a possible user action.

Called after user’s click.

ButtonContent ()

Used in some Button types, such as animated.

Buttons can be grouped.

ButtonOr ()

Button groups can contain conditionals.

Properties
NameTypeDescription
as
elementType

An element type to render as (string or function).

children
node

Primary content.

className
string

Additional classes.

content
custom

Shorthand for primary content.

hidden
bool

Initially hidden, visible on hover.

visible
bool

Initially visible, hidden on hover.

as
elementType

An element type to render as (string or function).

className
string

Additional classes.

text
number | string

Or buttons can have their text localized, or adjusted by using the text prop.

Help and resources