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

hero-button

v0.0.2arrow_drop_down
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
8
VISIBILITY
Public
PUBLISHED
4 months ago
SIZE
45 KB
CTA button for `Hero` featured content
1 contributor
Install hero-button as a package?
Copied
npm i @bit/giladshoham.gggg.hero-button
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
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
chevron_left
chevron_right
HeroButton ()

CTA button for Hero featured content

Example
<HeroButton text="Im a Hero!" primary />
Properties
NameTypeDefault valueDescription
primary
booltrue

determines is a primary button (emphasized)

text
string'Hero Button!'

label to be displayed within the button

Test Summary

#HeroButton Should render

Pass

#HeroButton Should contain text REACT SF

Pass