"use client" import { useState } from 'react' import { Framework, getAllFrameworks } from '@/lib/frameworks' import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card' import { Badge } from '@/components/ui/badge' import { Button } from '@/components/ui/button' import { Check } from 'lucide-react' interface FrameworkSelectorProps { selectedFramework?: string onSelect: (frameworkId: string | null) => void className?: string } export function FrameworkSelector({ selectedFramework, onSelect, className = '' }: FrameworkSelectorProps) { const frameworks = getAllFrameworks() return (
Structured frameworks help you write better prompts. Select one to get started with a template.