Add the Nook "Pricing table" component to this project, exactly as Nook ships it. Monthly and yearly plans, as cards or a full feature comparison. Steps 1. Check for `nook.json` in the project root. If it is missing, run `npx nook-ui@latest init` first (React or Next.js with Tailwind CSS v4). It adds the Nook tokens, the theme and `cn()`. 2. Run `npx nook-ui@latest add pricing-table`. It writes `components/ui/pricing-table.tsx` together with everything the component needs. Do not write the component from memory. 3. If you cannot run commands, fetch http://localhost:3000/r/pricing-table.json, write every entry of `files` to the path it names, install the packages in `dependencies`, and repeat for each name in `registryDependencies`. 4. Use it where I ask. Start from this example: ```tsx "use client"; import * as React from "react"; import { PricingTable, type PricingPlan } from "@/components/ui/pricing-table"; export const studioPlans: PricingPlan[] = [ { id: "solo", name: "Solo", promise: "A focused home for independent work.", monthlyPrice: 12, yearlyPrice: 9, actionLabel: "Start solo", features: [ { label: "3 active projects", included: true }, { label: "Unlimited notes", included: true }, { label: "Team permissions", included: false }, ], }, { id: "studio", name: "Studio", promise: "Keep a small team moving together.", monthlyPrice: 28, yearlyPrice: 21, highlighted: true, actionLabel: "Start your studio", features: [ { label: "Unlimited projects", included: true }, { label: "Unlimited notes", included: true }, { label: "Team permissions", included: true }, ], }, ]; export default function PricingDefault() { const [message, setMessage] = React.useState(""); return (
setMessage(`${plan.name} selected ยท ${interval} billing`) } />

{message}

); } ``` API - `PricingTable`: Plan selection with a clearly stated saving and monthly-equivalent yearly prices. - `plans` (`PricingPlan[]`): id, name, promise, monthlyPrice, yearlyPrice, features, actionLabel, optional highlighted and href. Yearly price is the monthly equivalent. - `saving` (`string`): A truthful saving stated in words, supplied by the app. - `interval / defaultInterval / onIntervalChange` (`"monthly" | "yearly" / callback`, default "monthly"): Controlled or local billing interval. - `onChoose` (`(plan, interval) => void`): Runs for a plan button. A plan with href uses a link instead. - `currency` (`string`, default "USD"): Currency shared by all plans. - Variant `variant`: cards, comparison (default cards) Rules - Colors, radii, shadows and motion come from Nook tokens and classes such as `bg-primary`, `text-muted-foreground`, `border-border`, `rounded-lg` and `h-control`. Never hard-code them. - Do not restyle or simplify the file. Change how it looks through `className`, its props and the theme. - It must keep working with the keyboard, in light and dark mode, and in the sharp, soft and bold styles. - Accessibility: Native radio buttons support arrow-key billing selection. Every check or dash has an Included or Not included text alternative. Comparison cells have column and row headers. Done when the component renders like the example in light and dark mode and the project type-checks.