Carregando…
Carregando…
Carregando…Text button with a soft highlighted pill that fades in behind it on hover.
Hover only (default) — pill aparece só no hover
hoverOnly={false} — pill sempre visível, escurece no hover
$ npx kikitocn add before-effect-button@/lib/utilsimport { BeforeEffectButton } from "@/components/ui/cn/before-effect-button/BeforeEffectButton";
export function BeforeEffectButtonExample() {
return (
<BeforeEffectButton>
Before Effect Button
</BeforeEffectButton>
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
children* | React.ReactNode | — | Conteúdo do botão |
hoverOnly | boolean | true | Pseudo-elemento ::before só aparece no hover (true) ou fica sempre visível (false) |
className | string | — | Classes CSS extras |