### Integration Examples Source: https://github.com/itssunnyscode/novus/blob/main/Tag.md Examples demonstrating how to integrate and use the Tag component. ```APIDOC ## Integration Examples ### Basic Usage Use `Tag` in a simple context with essential props. ```tsx import { Tag } from "novus"; export default function Example() { return ( ); } ``` ### Interactive Usage Using `Tag` with state management for user interactions. ```tsx import { useState } from "react"; import { Tag } from "novus"; export default function InteractiveExample() { const [value, setValue] = useState(null); return ( setValue(newValue)} /> ); } ``` ``` -------------------------------- ### Basic Toggle Integration Example (React) Source: https://github.com/itssunnyscode/novus/blob/main/Toggle.md A simple example of integrating the Toggle component with basic props. It assumes the 'novus' library is installed. ```tsx import { Toggle } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### SelectorTabs Basic Usage Example (React) Source: https://github.com/itssunnyscode/novus/blob/main/SelectorTabs.md Illustrates the basic integration of the SelectorTabs component. It shows how to import and render the component with a simple 'label' prop. This is a minimal example to get started. ```tsx import { SelectorTabs } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### Basic CounterBadge Usage Example Source: https://github.com/itssunnyscode/novus/blob/main/CounterBadge.md A fundamental example of integrating the CounterBadge component into an application. It highlights the essential `content` prop. Requires the 'novus' library. ```tsx import { CounterBadge } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### Avatar Integration Examples Source: https://github.com/itssunnyscode/novus/blob/main/Avatar.md Code examples showing how to integrate and use the Avatar component in various scenarios. ```APIDOC ## Integration Examples ### Basic Usage Demonstrates the simplest way to render an Avatar component. ```tsx import { Avatar } from "novus"; export default function Example() { return ( ); } ``` ### Interactive Usage Shows how to use the Avatar component with state management for interactive features. ```tsx import { useState } from "react"; import { Avatar } from "novus"; export default function InteractiveExample() { const [value, setValue] = useState(null); return ( setValue(newValue)} /> ); } ``` ``` -------------------------------- ### FilterPill Integration Examples Source: https://github.com/itssunnyscode/novus/blob/main/FilterPill.md Examples of how to integrate and use the FilterPill component in different scenarios. ```APIDOC ## FilterPill Integration Examples ### Description Examples of how to integrate and use the FilterPill component in different scenarios. ### Basic Usage Use `FilterPill` in a simple context with essential props. #### Request Example ```tsx import { FilterPill } from "novus"; export default function Example() { return ( ); } ``` ### Interactive Usage Using `FilterPill` with state management for user interactions. #### Request Example ```tsx import { useState } from "react"; import { FilterPill } from "novus"; export default function InteractiveExample() { const [value, setValue] = useState(null); return ( setValue(newValue)} /> ); } ``` ``` -------------------------------- ### Install Novus Design System Source: https://context7.com/itssunnyscode/novus/llms.txt Install the Novus design system package using npm. This command fetches and installs the library into your project's node_modules directory. ```bash npm install novus ``` -------------------------------- ### Link Component Basic Usage Source: https://github.com/itssunnyscode/novus/blob/main/Link.md Provides a basic example of integrating the Novus Link component into an application. This shows the minimal setup required to render the component. ```tsx import { Link } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### Basic App Setup with Novus ThemeProvider and Button Source: https://context7.com/itssunnyscode/novus/llms.txt Demonstrates the basic setup of a React application using Novus. It wraps the application with `ThemeProvider` to apply the light theme and renders a primary `Button` component. ```tsx import { ThemeProvider, Button, Input } from "novus"; export default function App() { return ( ); } ``` -------------------------------- ### Radio Component: Basic Usage Example Source: https://github.com/itssunnyscode/novus/blob/main/Radio.md Provides a fundamental example of integrating the Radio component. This snippet imports 'Radio' from 'novus' and renders it with the 'checked' prop set to true. ```tsx import { Radio } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### Novus Icon Component - Basic Usage Example Source: https://github.com/itssunnyscode/novus/blob/main/Icon.md Provides a fundamental example of integrating the Novus Icon component into an application. It imports the Icon from 'novus' and displays an icon with a given name. ```tsx import { Icon } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### MultiSelect Basic Usage Example (React) Source: https://github.com/itssunnyscode/novus/blob/main/MultiSelect.md Shows a basic example of using the MultiSelect component with label and value props. Ensure the 'novus' library is available. ```tsx import { MultiSelect } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### Basic Slider Integration Example (TypeScript React) Source: https://github.com/itssunnyscode/novus/blob/main/Slider.md Shows a basic integration of the Slider component with essential props. This example assumes the 'novus' library is available in the project. ```tsx import { Slider } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### Novus Select Component Basic Usage Example Source: https://github.com/itssunnyscode/novus/blob/main/Select.md Illustrates the basic usage of the Novus Select component with essential props like 'label' and 'value'. This example is useful for understanding how to provide fundamental data to the Select component for a simple selection scenario. ```tsx import { Select } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### Basic ThemeProvider Usage (TypeScript) Source: https://github.com/itssunnyscode/novus/blob/main/ThemeProvider.md Demonstrates the default usage of the ThemeProvider component. It requires importing the component from the 'novus' library. No specific props are shown in this basic example. ```tsx import { ThemeProvider } from "novus"; export default function Demo() { return ( ); } ``` ```tsx import { ThemeProvider } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### Radio Component: With Feedback Variant Example Source: https://github.com/itssunnyscode/novus/blob/main/Radio.md Demonstrates the Radio component displaying feedback, such as an error state. This example uses the 'state' prop to indicate an error, importing 'Radio' from 'novus'. ```tsx import { Radio } from "novus"; export default function Demo() { return ( ); } ``` -------------------------------- ### Tag Variants Source: https://github.com/itssunnyscode/novus/blob/main/Tag.md Examples of different Tag component variants. ```APIDOC ## Tag Variants ### Feature Feature variant of the component ```tsx import { Tag } from "novus"; export default function Demo() { return ( ); } ``` ### Dismissible Dismissible variant of the component ```tsx import { Tag } from "novus"; export default function Demo() { return ( ); } ``` ### Editable Editable variant of the component ```tsx import { Tag } from "novus"; export default function Demo() { return ( ); } ``` ### Selectable Selectable variant of the component ```tsx import { Tag } from "novus"; export default function Demo() { return ( ); } ``` ``` -------------------------------- ### Novus Input Component Examples Source: https://context7.com/itssunnyscode/novus/llms.txt Demonstrates the usage of the Novus `Input` component for various input types including text, password, number, and OTP. It includes examples of labels, placeholders, value binding, change handlers, and basic form submission with validation. ```tsx import { Input } from "novus"; import { useState } from "react"; export default function InputExample() { const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); const [otp, setOtp] = useState(""); const [error, setError] = useState(""); const handleSubmit = (e) => { e.preventDefault(); if (!email.includes("@")) { setError("Invalid email address"); return; } console.log("Submitting:", { email, password }); }; return (
setEmail(e.target.value)} /> setPassword(e.target.value)} /> setOtp(e.target.value)} /> {error &&

{error}

}
); } ``` -------------------------------- ### Novus Tooltip Example (React/TSX) Source: https://context7.com/itssunnyscode/novus/llms.txt Illustrates the Novus Tooltip component, which provides contextual information on hover or focus. Examples show different positions and appearances applied to Button and Icon components, enhancing user guidance. ```tsx import { Tooltip, Button, Icon } from "novus"; export default function TooltipExample() { return (
); } ``` -------------------------------- ### Radio Component: Checked Variant Example Source: https://github.com/itssunnyscode/novus/blob/main/Radio.md Illustrates how to render the Radio component in a checked state. This example imports the 'Radio' component from 'novus' and sets the 'checked' prop to true. ```tsx import { Radio } from "novus"; export default function Demo() { return ( ); } ``` -------------------------------- ### Default Toggle Component Usage (React) Source: https://github.com/itssunnyscode/novus/blob/main/Toggle.md Demonstrates the basic instantiation of the Toggle component with its default state and a label. This example requires the 'novus' library. ```tsx import { Toggle } from "novus"; export default function Demo() { return ( ); } ``` -------------------------------- ### Shimmer Component - Basic Usage Example Source: https://github.com/itssunnyscode/novus/blob/main/Shimmer.md A fundamental example of integrating the Shimmer component into a React application with minimal props. This showcases the default rendering behavior when only the component is included. It depends on the 'Shimmer' component from the 'novus' package. ```tsx import { Shimmer } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### Input Component: With Tooltip (TSX) Source: https://github.com/itssunnyscode/novus/blob/main/Input.md Demonstrates the Input component setup for text input, featuring a label and placeholder, suggesting tooltip integration. ```tsx import { Input } from "novus"; export default function Demo() { return ( ); } ``` -------------------------------- ### Basic IconButton Integration Source: https://github.com/itssunnyscode/novus/blob/main/IconButton.md Shows a simple example of how to use the IconButton component with the essential `iconName` prop. ```tsx import { IconButton } from "novus"; export default function Example() { return ( ); } ``` -------------------------------- ### MenuItem Variants Source: https://github.com/itssunnyscode/novus/blob/main/MenuItem.md Examples demonstrating different variants of the MenuItem component. ```APIDOC ## Variants ### Default Default variant of the component ```tsx import { MenuItem } from "novus"; export default function Demo() { return ( ); } ``` ### WithPrefix WithPrefix variant of the component ```tsx import { MenuItem } from "novus"; export default function Demo() { return ( } /> ); } ``` ### WithSuffix WithSuffix variant of the component ```tsx import { MenuItem } from "novus"; export default function Demo() { return ( } /> ); } ``` ### Selected Selected variant of the component ```tsx import { MenuItem } from "novus"; export default function Demo() { return ( ); } ``` ### Disabled Disabled variant of the component ```tsx import { MenuItem } from "novus"; export default function Demo() { return ( ); } ``` ### WithSupportingText WithSupportingText variant of the component ```tsx import { MenuItem } from "novus"; export default function Demo() { return ( ); } ``` ``` -------------------------------- ### Novus TextArea Example (React/TSX) Source: https://context7.com/itssunnyscode/novus/llms.txt Demonstrates the Novus TextArea component for multi-line text input. Examples cover basic input with state management, character count limits, helper text, and read-only configurations using React hooks. ```tsx import { TextArea } from "novus"; import { useState } from "react"; export default function TextAreaExample() { const [description, setDescription] = useState(""); const [feedback, setFeedback] = useState(""); const maxLength = 500; return (