Color Palette

Core

background
--background
foreground
--foreground
card
--card
card-foreground
--card-foreground
popover
--popover
popover-foreground
--popover-foreground
primary
--primary
primary-foreground
--primary-foreground
secondary
--secondary
secondary-foreground
--secondary-foreground
muted
--muted
muted-foreground
--muted-foreground
accent
--accent
accent-foreground
--accent-foreground
destructive
--destructive
border
--border
input
--input
ring
--ring

Charts

chart-1
--chart-1
chart-2
--chart-2
chart-3
--chart-3
chart-4
--chart-4
chart-5
--chart-5

Sidebar

sidebar
--sidebar
sidebar-foreground
--sidebar-foreground
sidebar-primary
--sidebar-primary
sidebar-primary-foreground
--sidebar-primary-foreground
sidebar-accent
--sidebar-accent
sidebar-accent-foreground
--sidebar-accent-foreground
sidebar-border
--sidebar-border
sidebar-ring
--sidebar-ring

Theme (inline)

color-primary
--color-primary
secondary-100
--color-secondary-100
secondary-200
--color-secondary-200
secondary-300
--color-secondary-300
secondary-400
--color-secondary-400
secondary-500
--color-secondary-500
secondary-600
--color-secondary-600
secondary-700
--color-secondary-700
tertiary
--color-tertiary
grey-100
--color-grey-100
grey-200
--color-grey-200
grey-300
--color-grey-300
grey-400
--color-grey-400
grey-500
--color-grey-500
grey-600
--color-grey-600
grey-700
--color-grey-700
grey (base)
--color-grey

Primitives

All Button Combinations

Use const or let to declare variables in JavaScript.

function greet(name) {
  return `Hello, ${name}!`;
}

console.log(greet('World'));
interface User {
  id: number;
  name: string;
  email: string;
}

const createUser = (data: User): User => {
  return { ...data };
};
def fibonacci(n):
    if n <= 1:
        return n
    return fibonacci(n-1) + fibonacci(n-2)

print(fibonacci(10))
package main

import "fmt"

func main() {
    message := "Hello, Go!"
    fmt.Println(message)
}
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}
#include <iostream>

int main() {
    std::cout << "Hello, C++!" << std::endl;
    return 0;
}
#include <stdio.h>

int main() {
    printf("Hello, C!\n");
    return 0;
}
version: '3.8'
services:
  web:
    image: nginx:latest
    ports:
      - "80:80"
    environment:
      - NODE_ENV=production
x = linspace(0, 2*pi, 100);
y = sin(x);
plot(x, y);
title('Sine Wave');
xlabel('x');
ylabel('sin(x)');
fn main() {
    let message = "Hello, Rust!";
    println!("{}", message);
}
SELECT users.name, orders.total
FROM users
INNER JOIN orders ON users.id = orders.user_id
WHERE orders.total > 100
ORDER BY orders.total DESC;
{
  "name": "upayan.dev",
  "version": "5.0.0",
  "dependencies": {
    "react": "^19.0.0",
    "next": "^15.0.0"
  }
}