NexoreUIv1.5
InstallationComponents41IconsNexore MakeAI
Create ProjectSTUDIOGitHub
NexoreUI
42 comps
Create Project
Studio
Installation
Components Overview
40+
Icons
300+
Categories6 groups
Button
Input
Switch
Slider
Rating
File Upload
Card
Accordion
Tabs
Table
Stepper
Scroll Area
Navigation
Dock
Data Display
Aurora Border Card
AI
AI Prompt Input
AI
Command
Interactive Code Block
AI
Theme: indigo
Studio
DocsInteractive Code Block

Interactive Code Block

macOS-inspired code presentation card with instant 1-click copy feedback and vibrant theme styling.

NextAI Prompt Input
On This Page
Quick Actions
Project Studio
New
Nexore Make (AI)Source on GitHub
New Component

Interactive Code Block

A macOS-inspired code presentation card with instant 1-click copy feedback, syntax layout, line numbering, and vibrant theme styling.

npx nexoreui-cli add interactive-code-block

Interactive Playground

HeroComponent.tsx
React 19
1import { Button, AuroraBorderCard } from "nexoreui";
2
3export function WelcomeHero() {
4 return (
5 <AuroraBorderCard variant="aurora" glow="medium">
6 <h1 className="text-2xl font-bold">Build Faster</h1>
7 <Button variant="aurora">Get Started</Button>
8 </AuroraBorderCard>
9 );
10}

Configure Props

Usage Examples

1. Aurora Glow Terminal Theme

studio.config.ts
TypeScript
1const studio = new NexoreStudio({
2 theme: "aurora",
3 acceleration: "hardware-60fps",
4});
component.tsx

2. Neon Cyberpunk Theme

aiService.ts
API
1export async function queryAI(prompt: string) {
2 const response = await fetch("/api/make-ai", {
3 method: "POST",
4 body: JSON.stringify({ prompt }),
5 });
6 return response.json();
7}
component.tsx
Page 1 of 2

API Reference

PropTypeDefaultDescription
codestring-Source code string to render inside the block.
filenamestring"Component.tsx"File title displayed in the macOS titlebar.
theme"dark" | "aurora" | "neon" | "glass" | "midnight""dark"Visual color scheme styling.
showLineNumbersbooleantrueWhether numeric line numbers are shown.
highlightLinesnumber[][]Array of line numbers highlighted with subtle background tint.
copyablebooleantrueWhether the copy-to-clipboard button is rendered.