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

button

v0.86.0arrow_drop_down
v0.86.0
v0.85.0
v0.84.0
STATUS
Passing
DOWNLOADS
12,871
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
7 months ago
SIZE
82 KB
A Button indicates a possible user action
1 contributor
Use button in your project ?
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.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
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
custom

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
custom

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.