Unstyled button

Last updated: 2.5.0 (11/05/2024)

A very basic button component devoid of all style, including the native browser-applied styles. Useful for building very unusual buttons.

Usage

import { UnstyledButton } from "@valence-ui/core";

function MyComponent() { 
    return ( 
        <UnstyledButton
            style={{
                // New styles here
            }}
        >
            // New children here
        </UnstyledButton>
    )
}

Props

Extends GenericClickableProps, GenericClickableEventProps, PolymorphicButtonProps, GenericLayoutProps.

motion

MotionBehaviourProps

Defines motion behavior for this button. This will automatically be overridden if the user has reduced motion enabled on their device.

Last updated

Was this helpful?