Browse components
Specular Button
A glossy glass pill with a specular hotspot and rim light that glide after the pointer.
Installation
npx shadcn@latest add @glint-ui/specular-buttonFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glint-ui-seven.vercel.app/r/specular-button.json
Usage
import { SpecularButton } from "@/components/ui/specular-button";
<SpecularButton>Continue</SpecularButton>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | Button label. |
| tint | string | "#ffffff" | Color of the specular highlight and edge light. |
| className | string | — | Extra classes for the root element. |