UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update pricing docs
Dillion Vermab9c19061add4
diff --git a/content/docs/sections/pricing.mdx b/content/docs/sections/pricing.mdxindex 53d20ecb..cd7aa6fc 100644--- a/content/docs/sections/pricing.mdx+++ b/content/docs/sections/pricing.mdx@@ -8,6 +8,10 @@ published: true---+Note: Some of the components here make use of the [shadcn](https://ui.shadcn.com) library such as `Switch` and `Button`.++Please follow instructions there to get started. If you have any questions, join our [discord](https://discord.gg/WfefJAwQhF).+<BlockPreview name="pricing-1" />{/* <BlockPreview name="pricing-2" /> */}\ No newline at end of filediff --git a/registry/blocks/example/pricing-1.tsx b/registry/blocks/example/pricing-1.tsxindex 40714e56..41338371 100644--- a/registry/blocks/example/pricing-1.tsx+++ b/registry/blocks/example/pricing-1.tsx@@ -1,12 +1,11 @@"use client";-import { Icons } from "@/components/icons";import { Button } from "@/components/ui/button";-import { Label } from "@/components/ui/label";import { Switch } from "@/components/ui/switch";import { cn } from "@/lib/utils";import { CheckIcon } from "@radix-ui/react-icons";import { motion } from "framer-motion";+import { Loader } from "lucide-react";import { useState } from "react";type Interval = "month" | "year";@@ -202,7 +201,7 @@ export default function Pricing() {setInterval(checked ? "year" : "month");}}/>- <Label htmlFor="interval">Annual</Label>+ <span>Annual</span><span className="inline-block whitespace-nowrap rounded-full bg-black px-2.5 py-1 text-[11px] font-semibold uppercase leading-5 tracking-wide text-white dark:bg-white dark:text-black">2 MONTHS FREE ✨</span>@@ -261,7 +260,7 @@ export default function Pricing() {{isLoading && id === price.id && <p>Subscribing</p>}{isLoading && id === price.id && (- <Icons.spinner className="mr-2 h-4 w-4 animate-spin" />+ <Loader className="mr-2 h-4 w-4 animate-spin" />)}</Button>