a
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
---
|
||||
title: Button
|
||||
description: This bold button makes sure your users click on it and perform the actions you want! 🚀
|
||||
lastUpdated: 17 Oct, 2025
|
||||
links:
|
||||
source: https://github.com/logging-studio/RetroUI/blob/main/components/retroui/Button.tsx
|
||||
---
|
||||
|
||||
<ComponentShowcase name="button-style-default" />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<ComponentInstall>
|
||||
<ComponentInstall.Cli npmCommand="npx shadcn@latest add @retroui/button" />
|
||||
<ComponentInstall.Manual>
|
||||
#### 1. Install dependencies:
|
||||
|
||||
```sh
|
||||
npm install class-variance-authority
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
#### 2. Copy the code 👇 into your project:
|
||||
|
||||
<ComponentSource name="button" />
|
||||
|
||||
</ComponentInstall.Manual>
|
||||
</ComponentInstall>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
## Examples
|
||||
|
||||
### Primary
|
||||
|
||||
<ComponentShowcase name="button-style-default" />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
### Secondary
|
||||
|
||||
<ComponentShowcase name="button-style-secondary" />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
### Outline
|
||||
|
||||
<ComponentShowcase name="button-style-outline" />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
### Link
|
||||
|
||||
<ComponentShowcase name="button-style-link" />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
### Icon
|
||||
|
||||
<ComponentShowcase name="button-style-icon" />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
### With Icon
|
||||
|
||||
<ComponentShowcase name="button-style-with-icon" />
|
||||
Reference in New Issue
Block a user