### Initialize New Next.js Project with Radian CLI Source: https://context7.com/context7/radianos/llms.txt Creates a new Next.js project pre-configured with the Radian UI library using the command-line interface. It guides the user through project setup prompts. ```bash pnpm dlx @radianos/radianbeta init # CLI prompts and setup ✔ No package.json found. Create a new project? … yes ✔ What would you like to name your project? … my-app ✔ Which framework do you want to use? › Next.js ✔ Would you like to use /src directory? … yes ✔ Creating next project... ✔ Writing components.json file ✔ Setting up project configuration ✔ Installing dependencies # Success! Project initialization completed. You may now add components. ``` -------------------------------- ### Configure Radian Theme with CLI and Next.js Source: https://context7.com/context7/radianos/llms.txt Demonstrates how to initialize Radian theme configuration using the CLI and integrate it into a Next.js application. Includes `components.json` example and basic dark mode setup in the HTML root. ```json // Radian automatically configures theme support with CLI initialization // After running: pnpm dlx @radianos/radianbeta init // components.json is created with theme configuration { "name": "my-app", "framework": "next", "theme": { "dark": true, "light": true }, "tailwind": { "config": "tailwind.config.js", "css": "src/app/globals.css" } } ``` ```tsx // Dark mode is configured via Tailwind CSS // Add to your root layout or _app file: {children} ``` ```tsx // Toggle theme programmatically import { useTheme } from 'next-themes' function ThemeToggle() { const { theme, setTheme } = useTheme() return ( ) } // Components automatically adapt to theme Themed modal ``` -------------------------------- ### Run Radian Initialization in Existing Vite Project Source: https://context7.com/context7/radianos/llms.txt Executes the Radian CLI initialization command within an existing Vite project to verify and complete the setup, including dependency installation and configuration checks. ```bash # Run initialization pnpm dlx @radianos/radianbeta init ✔ Before init checks completed ✔ Detecting framework. Detected Vite. ✔ Verifying tailwind configuration. Found Tailwind configuration. ✔ Verifying import alias. Found import alias prefix: @ ✅ Preflight checks passed ✔ Writing components.json file ✔ Project configuration completed ✔ Installing dependencies ``` -------------------------------- ### Install Tailwind CSS for Existing Vite Project Source: https://radianos.com/docs/installation/vite Install Tailwind CSS and its Vite plugin for an existing project. This is a prerequisite for using Radianos components effectively with styling. ```bash pnpm add tailwindcss @tailwindcss/vite ``` -------------------------------- ### Setup Radian in Existing Vite Project - Dependencies Source: https://context7.com/context7/radianos/llms.txt Installs necessary dependencies for integrating Radian into an existing Vite project, specifically Tailwind CSS and path resolution types. ```bash # Install TailwindCSS pnpm add tailwindcss @tailwindcss/vite # Install path resolution pnpm add -D @types/node ``` -------------------------------- ### Alert Component Installation Source: https://radianos.com/docs/components/alert Instructions for installing the Alert component using various package managers. ```bash pnpm install pnpm install yarn bun ``` -------------------------------- ### Modal Component Examples (React) Source: https://context7.com/context7/radianos/llms.txt Showcases the Modal component from Radianos UI, illustrating basic usage, a delete confirmation modal, an integration example with form inputs, and a modal with a transparent backdrop. Includes installation instructions and a comprehensive list of props for Modal, ModalTrigger, ModalClose, and other related components. ```tsx // Installation // pnpm dlx @radianos/radianbeta add modal import { Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, ModalBody } from "@/components/ui/modal" // Basic modal My Modal

This is a simple modal body content.

// Delete confirmation modal Delete Item This action cannot be undone. Are you sure you want to delete this item? // Integration modal example Connect GitHub Connect your GitHub account to sync repositories // Modal with transparent backdrop Transparent Backdrop Content here // Props: // // - closeIcon: "hidden" | "visible" | "hover" (default: "hidden") // - backdrop: "overlay" | "blur" | "transparent" (default: "overlay") // // // - asChild: boolean (default: false) // // // - asChild: boolean (default: false) ``` -------------------------------- ### Install Radianos Tooltip with pnpm Source: https://radianos.com/docs/components/tooltip Provides instructions for installing the Radianos Tooltip component using pnpm. This is a command-line installation process. ```bash pnpm dlx @radianos/radianbeta add tooltip ``` -------------------------------- ### Install Radianos Resizable Component Source: https://radianos.com/docs/components/resizable Instructions for installing the resizable component using pnpm. This command adds the necessary package to your project. ```bash pnpm dlx @radianos/radianbeta add resizable ``` -------------------------------- ### Install Node Types for Vite Configuration Source: https://radianos.com/docs/installation/vite Install the types for Node.js as a development dependency. This is often required for advanced configurations in Vite projects, especially when using path modules. ```bash pnpm add -D @types/node ``` -------------------------------- ### Accordion Component Examples (React) Source: https://context7.com/context7/radianos/llms.txt Demonstrates the usage of the Accordion component from Radianos UI, showing single and multiple interaction modes, different variants, and size options. Includes installation instructions and a breakdown of available props for Accordion, AccordionItem, AccordionTrigger, and AccordionContent. ```tsx // Installation // pnpm dlx @radianos/radianbeta add accordion import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion" // Single interaction accordion What is Radian?

Radian is an open-source React component library and UI design system.

How can Radian speed up development?

Radian provides pre-built components with beautiful defaults that you can customize.

Is Radian suitable for all skill levels?

Yes, Radian is designed to be beginner-friendly while powerful for experts.

// Multiple interaction accordion Question 1 Answer 1 Question 2 Answer 2 // Large size with open variant Section Title Section content here // Props: // // - size: "sm" | "lg" (default: "sm") // - variant: "box" | "table" | "open" (default: "box") // - interaction: "single" | "multiple" (default: "single") // - disabled: boolean (default: false) // // // - value: string (required) // - disabled: boolean (default: false) // // // - asChild: boolean (default: false) // // // - asChild: boolean (default: false) ``` -------------------------------- ### Install Radianos Badge Component (pnpm) Source: https://radianos.com/docs/components/badge Instructions for installing the Radianos Badge component using pnpm. ```shell pnpm dlx @radianos/radianbeta add badge ``` -------------------------------- ### Install Radianos Input Component using pnpm Source: https://radianos.com/docs/components/inputs This command installs the Radianos Input component using pnpm, a performant package manager. Ensure you have pnpm installed globally. This is the primary method for adding the component to your project. ```bash pnpm dlx @radianos/radianbeta add input ``` -------------------------------- ### Install Radianos Select Component Source: https://radianos.com/docs/components/select Instructions for installing the Radianos Select component using various package managers. This command adds the necessary package to your project dependencies. ```bash pnpm dlx @radianos/radianbeta add select ``` -------------------------------- ### Install Radianos Drawer Component Source: https://radianos.com/docs/components/drawer Instructions for installing the Radianos Drawer component using pnpm. This command ensures the latest version of the drawer is added to your project. ```bash pnpm dlx @radianos/radianbeta add drawer ``` -------------------------------- ### Install Password Component using PNPM Source: https://radianos.com/docs/components/password Installs the Password component using PNPM. This command adds the component to your project, making it available for use. ```bash pnpm dlx @radianos/radianbeta add password ``` -------------------------------- ### Configure components.json for Next.js Project Source: https://radianos.com/docs/installation/next This interactive setup process configures the `components.json` file for a new Next.js project. It includes prompts for project name, framework selection (Next.js), and usage of the `/src` directory. ```bash ✔ No package.json found at /home/ashmitbastola/Desktop/Personal/next. Create a new project? … yes ✔ What would you like to name your project? … my-app ✔ Which framework do you want to use? › Next.js ✔ Would you like to use /src directory? … yes ✔ Creating next project... ✔ Writing components.json file ⠋ Setting up project configuration✅ Next.js project setup completed ✔ Setting up project configuration ✔ Installing dependencies Success! Project initialization completed. You may now add components. ``` -------------------------------- ### Install Currency Amount Component Source: https://radianos.com/docs/components/currency-amount Installs the currency-amount package using pnpm. This is a prerequisite for using the component in your project. ```bash pnpm dlx @radianos/radianbeta add currency-amount ``` -------------------------------- ### Import and Use Radianos Button Component in Next.js Source: https://radianos.com/docs/installation/next Demonstrates how to import and use the 'Button' component from Radianos within a Next.js application. The example shows basic usage with configurable props like `variant`, `size`, `rounded`, and `iconOnly`. ```typescript import {Button} from "@/components/ui/Button" export default function App() { return (
) } ``` -------------------------------- ### Install Progress Bar with pnpm Source: https://radianos.com/docs/components/progress-bar Instructions for installing the progress bar component using pnpm. This command adds the necessary package to your project. ```bash pnpm dlx @radianos/radianbeta add progress-bar ``` -------------------------------- ### Install Tailwind CSS Dependencies (pnpm) Source: https://radianos.com/docs/installation/manual Installs essential Tailwind CSS related packages using pnpm. These include animate, class-variance-authority, clsx, tailwind-merge, and lucide-react. ```shell pnpm add tailwindcss-animate class-variance-authority clsx tailwind-merge lucide-react ``` -------------------------------- ### Radianos Form Component Installation and Usage (TypeScript/React) Source: https://context7.com/context7/radianos/llms.txt This snippet shows how to install the Radianos form component using pnpm and provides examples of its usage in a React application with TypeScript. It includes imports for various UI elements like Input, Button, Checkbox, Select, and TextArea. The examples demonstrate creating registration, contact, and checkout forms. ```tsx // Installation // pnpm dlx @radianos/radianbeta add form import { Input } from "@/components/ui/input" import { Button } from "@/components/ui/button" import { Checkbox } from "@/components/ui/checkbox" import { Select } from "@/components/ui/select" import { TextArea } from "@/components/ui/textarea" // Registration form example

Create Your Account

Join us today and get started with your journey

// Contact form example

Get In Touch

Send us a message and we'll respond as soon as possible.