Dev Design Library

Metal Button

A pill button framed by a real-time WebGL liquid-metal ring, in chromatic, silver and gold presets.

Metal Button preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Dependencies
metal-fx
Install
npx shadcn@latest add @spectrumui/metal-button
Files
  • components/spectrumui/metal-button.tsx
  • components/spectrumui/use-surface-theme.ts
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI