Skip to main content

UnstyledButton

Quick start

Here's a quick start guide to get started with the Unstyled Button component, It resets all button styles and used to create custom button

Importing Component

import { UnstyledButton } from "@hover-design/react";

Code Snippets and Examples

UnstyledButton Default
<div className="App">
<UnstyledButton onClick={() => alert("Alert!")}>Click here</UnstyledButton>
</div>
UnstyledButton with Avatar
<div className="App">
<UnstyledButton onClick={() => alert("Avatar")}>
<Avatar
src="https://avatars.githubusercontent.com/u/30571073?v=4?s=200&v=4"
alt="random-image"
/>
</UnstyledButton>
</div>