Carregando…
Carregando…
Carregando…Styled blockquote with variant options, author attribution and avatar.
Demo coming soon
Add a demo component to DEMOS in _showcase.tsx for display/quote-block
$ npx kikitocn add quote-blockimport { QuoteBlock } from "@/components/ui/cn/quote-block/QuoteBlock";
export function QuoteBlockExample() {
return (
<QuoteBlock />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
children* | React.ReactNode | — | Texto da citação |
variant | 'default' | 'accent' | 'ghost' | 'default' | Estilo visual |
author | string | — | Nome do autor |
role | string | — | Cargo ou descrição do autor |
avatar | string | — | URL do avatar |
avatarFallback | string | — | Iniciais para o fallback |
className | string | — | Classes CSS extras |