tigran tumasov

Note

Component 10

About

Display text that requires attention or provides additional information.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Note to your project and fits it to your theme.

Code

How Note is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Button } from "@/components/ui/button-1";
import { Note } from "@/components/ui/note";
import Link from "next/link";

export default function SecondaryDemo() {
  return (
      <div className="flex flex-col items-start gap-4 w-3/4">
        <Note type="secondary">
          This note details some secondary information.
        </Note>
        <Note action={<Button size="small">Upgrade</Button>} type="secondary">
          This note details some secondary information.
        </Note>
        <Note action={<Button size="small">Upgrade</Button>} type="secondary">
          This note details some success information. Check{" "}
          <Link data-zone="same" href="geist/#">
            the documentation
          </Link>{" "}
          to learn more.
        </Note>
        <Note fill type="secondary">
          This filled note details some secondary information.
        </Note>
        <Note
          action={<Button size="small">Upgrade</Button>}
          fill
          type="secondary"
        >
          This filled note details some secondary information.
        </Note>
        <Note
          action={<Button size="small">Upgrade</Button>}
          fill
          type="secondary"
        >
          This filled note details some success information. Check{" "}
          <Link data-zone="same" href="/geist#">
            the documentation
          </Link>{" "}
          to learn more.
        </Note>
      </div>
  );
}

Dependencies

More by tigran tumasov

View all
  • Product Hunt Badge

    Product Hunt Badge

    1.9K
  • Book

    Book

    180
  • Calendar

    Calendar

    156
  • Theme Switcher

    Theme Switcher

    141
  • Snippet

    Snippet

    125
  • Table

    Table

    124
  • Toggle

    Toggle

    97
  • Feedback

    Feedback

    94