Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Button

Metallic Button

MetallicButton.vue

Install

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/button-metallic

Import the shared styles once in your application.

TSUsage
import MetallicButton from '@/components/beui/actions/MetallicButton.vue'
import '@/components/beui/styles.css'

API Reference

class?
string
Default—
size?
"sm" | "md" | "lg" | "icon"
Defaultmd
pressScale?
number
Default—
paused?
boolean

Stops the traveling reflection while preserving the chrome rim.

Defaultfalse
Also on React Native. Spring press, ripple, icons and a stateful variant.(opens in a new tab)

Used in these Pro blocks

Updated