Developer mode
Opens components on the React tab by default.
Your bookmarks

ButtonPrimitive

A basic button that lets you customize.

import ButtonPrimitive from "@kiwicom/orbit-components/lib/ButtonPrimitive";
() => <ButtonPrimitive>Click me</ButtonPrimitive>

Component status

Figma
n/a
Web (React)
Released
iOS (Swift)
n/a
Android (Kotlin)
n/a
Docs
Released

Guidelines

Follow button guidelines

Button primitives are still buttons. So make sure to follow all the guidelines for button components.

Use freedom wisely

With great freedom comes great responsibility. Primitive components offer many more options for styling. Use these options wisely and make sure your badges are still accessible to everyone.

Related components

Button

See the components related to buttons.

BadgePrimitive

Buttons (even primitive ones) are for actions. To display a status in a component you can style yourself, consider a badge primitive.