Carregando…
Carregando…
Carregando…Sticky note card with color options, rotation and author/date metadata.
$ npx kikitocn add note-cardimport { NoteCard } from "@/components/ui/cn/note-card/NoteCard";
export function NoteCardExample() {
return (
<NoteCard color="yellow">
Note Card
</NoteCard>
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
children* | React.ReactNode | — | Conteúdo da nota |
color | 'yellow' | 'blue' | 'green' | 'pink' | 'purple' | 'orange' | 'yellow' | Cor da nota |
rotate | number | 0 | Rotação em graus |
author | string | — | Autor da nota |
date | string | — | Data formatada |
className | string | — | Classes CSS extras |
style | React.CSSProperties | — | Estilos inline extras |
All 6 pastel colors
yellow
Quick sticky note with pin decoration and optional rotation.
pink
Quick sticky note with pin decoration and optional rotation.
blue
Quick sticky note with pin decoration and optional rotation.
green
Quick sticky note with pin decoration and optional rotation.
purple
Quick sticky note with pin decoration and optional rotation.
orange
Quick sticky note with pin decoration and optional rotation.
Rotated (skewed layout)
Note A
Slight tilt.
Note B
Different angle.
Note C
With author and date footer.