Setup
aksel.nav.no
TIPS
Sørg for at knappens synlig tekst kommer første i sitt tilgjengelig navn. Dette gjør det lettere for folk som bruker stemmestyring å aktivere knappen.
Props
Button
- Komponenten er implementert med OverridableComponent
Type |
|
---|---|
Description | Button content |
Type |
|
---|---|
Description | Changes design and interaction-visuals |
Default | primary |
Type |
|
---|---|
Description | Changes padding, height and font-size |
Default | medium |
Type |
|
---|---|
Description | Prevent the user from interacting with the button: it cannot be pressed or focused. @note Avoid using if possible for accessibility purposes |
Type |
|
---|---|
Description | Replaces button content with a Loader component, keeps width |
Default | false |
Type |
|
---|
Type |
|
---|
* Props er autogenerert fra kode, så avvik kan forekomme. Ta kontakt hvis noe ikke stemmer!