Skip to content
educational-ui logo

Educational UI Design Skill

educational-ui

Creates educational UI components following learning science principles. Use for classroom, student, or teacher interfaces.

SKILL.md

Full skill instructions

Educational UI Design Skill

When to Use

Use this skill when creating:

  • Student-facing interfaces
  • Teacher dashboards
  • Learning activities
  • Assessment components
  • Progress tracking UI

Core Principles

1. Learning Science

  • Clear objectives: Always show what students will learn
  • Progress visibility: Show advancement toward goals
  • Immediate feedback: Respond to interactions instantly
  • Scaffolding: Break complex tasks into steps
  • Spaced retrieval: Support review and practice

2. Accessibility (WCAG 2.1 AA)

  • Minimum 4.5:1 contrast for text
  • Keyboard navigable
  • Screen reader compatible
  • Focus indicators visible
  • Form labels and error messages

3. Mobile-First

  • Touch targets ≥44px
  • Readable without zoom
  • Thumb-friendly placement
  • Responsive breakpoints

Elon Brand Tokens

// ALWAYS use design tokens, NEVER hex codes
className="bg-maroon text-white"     // Primary brand
className="bg-gold text-black"       // Secondary accent
className="bg-surface-dark"          // Dark backgrounds
className="text-muted-foreground"    // Subdued text

// In SVG/​Charts
fill="var(--color-maroon)"
stroke="var(--color-gold)"

Component Patterns

Progress Indicator

import { Progress } from '@/​components/​ui/​progress';

function LessonProgress({ completed, total }: { completed: number; total: number }) {
  const percentage = Math.round((completed / total) * 100);

  return (
    <div className="space-y-2">
      <div className="flex justify-between text-sm">
        <span className="text-muted-foreground">Progress</​span>
        <span className="font-medium">{percentage}%</​span>
      </​div>
      <Progress value={percentage} className="h-2" />
      <p className="text-xs text-muted-foreground">
        {completed} of {total} activities completed
      </​p>
    </​div>
  );
}

Learning Objective Card

import { Card, CardContent, CardHeader, CardTitle } from '@/​components/​ui/​card';
import { Target } from 'lucide-react';

function LearningObjective({ objective }: { objective: string }) {
  return (
    <Card className="border-l-4 border-l-maroon">
      <CardHeader className="pb-2">
        <CardTitle className="flex items-center gap-2 text-base">
          <Target className="h-4 w-4 text-maroon" />
          Learning Objective
        </​CardTitle>
      </​CardHeader>
      <CardContent>
        <p className="text-sm text-muted-foreground">{objective}</​p>
      </​CardContent>
    </​Card>
  );
}

Feedback Message

import { CheckCircle, XCircle, AlertCircle } from 'lucide-react';
import { cn } from '@/​lib/​utils';

type FeedbackType = 'success' | 'error' | 'hint';

function Feedback({ type, message }: { type: FeedbackType; message: string }) {
  const config = {
    success: { icon: CheckCircle, className: 'bg-green-50 border-green-200 text-green-800' },
    error: { icon: XCircle, className: 'bg-red-50 border-red-200 text-red-800' },
    hint: { icon: AlertCircle, className: 'bg-amber-50 border-amber-200 text-amber-800' },
  };

  const { icon: Icon, className } = config[type];

  return (
    <div className={cn('flex items-start gap-2 p-4 rounded-lg border', className)}>
      <Icon className="h-5 w-5 flex-shrink-0 mt-0.5" />
      <p className="text-sm">{message}</​p>
    </​div>
  );
}

Streamed AI Response

'use client';

import { useChat } from 'ai/​react';
import { StreamdownContent } from '@/​components/​streamdown-content';

function AITutor({ assistantId }: { assistantId: string }) {
  const { messages, input, handleInputChange, handleSubmit, isLoading } = useChat({
    api: '/​api/​chat',
    body: { assistantId },
  });

  return (
    <div className="flex flex-col h-full">
      <div className="flex-1 overflow-y-auto p-4 space-y-4">
        {messages.map((m) => (
          <div key={m.id} className={cn(
            'rounded-lg p-4',
            m.role === 'user' ? 'bg-muted ml-8' : 'bg-card mr-8 border'
          )}>
            {m.role === 'assistant' ? (
              <StreamdownContent content={m.content} />
            ) : (
              <p>{m.content}</​p>
            )}
          </​div>
        ))}
      </​div>
      {/​* Input area */​}
    </​div>
  );
}

Chart Styling (Tremor/​Recharts)

// Always use CSS variables for Elon brand colors
const chartColors = {
  primary: 'var(--color-maroon)',
  secondary: 'var(--color-gold)',
  tertiary: 'hsl(var(--muted))',
};

// Example with Tremor
<BarChart
  data={data}
  index="name"
  categories={['value']}
  colors={['rose']} // Maps to maroon
  valueFormatter={(v) => `${v}%`}
/>

Checklist

  • Learning objective visible
  • Progress indicator present
  • Immediate feedback implemented
  • Uses shadcn/​ui components
  • Color tokens (no hex codes)
  • WCAG AA compliant
  • Mobile responsive
  • Keyboard navigable
  • Screen reader labels
  • Loading states with Suspense

More Design skills

brandkit logo
Design

brandkit

Premium brand-kit image generation for high-end identity systems, logo concepts, and visual-world presentations.

92.7K 345.8K
View

Premium website design-to-code skill that generates visual references first, then builds faithful frontend implementations.

92.7K 341.7K
View

Premium frontend image direction for landing pages and marketing sites, generating one distinct horizontal image per section.

92.7K 337.8K
View

Premium mobile app screen concepts and flows with clean hierarchy, strong imagery, and distinctive art direction.

92.7K 331.8K
View

Emil Kowalski's philosophy on UI polish, component design, and the invisible details that make software feel good.

43.5K 323.4K
View

Frontend design and iteration for production-grade interfaces, from concept to ship.

76.8K 313.3K
View

Reverse-engineer design tokens from public websites into starter token files for your project.

232 129.9K
View
Animate logo
Design

Animate

Builds an animation from scratch by making the decisions in the order that determines whether it feels right.

43.5K 117.9K
View

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

179.7K 114.2K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

Design AI tools

Maze Guru logo
Images

Maze Guru

Chat-to-edit AI studio for product photos, portraits, branding, and video.

Freemium
View
R
Design

RoomGPT

Generate your dream room in seconds.

Paid
View

Redesign your interior in seconds using AI

Paid
View
Reroom logo
Design

Reroom

Transform rooms with AI-generated designs.

Freemium
View
Jife logo
Design

Jife

Transform Your Space with AI-Powered Japanese Interior Designs by Jife

Paid
View
Visily logo
Design

Visily

AI-powered wireframes for non-designers.

Free
View

Revolutionize Property Viewing with AI-Generated Floor Plans and Virtual Tours

Paid
View
Archsynth logo
Design

Archsynth

Transform sketches into stunning architectural renders with AI.

Paid
View