Ai Output Format Selector
A production-scale, light + dark Ai Output Format Selector component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-output-format-selectorLive preview available in the gallery.
Usage
import { AIOutputFormatSelector } from "@lerpa/ui";
<AIOutputFormatSelector />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| formats | AIOutputFormat[] | — | |
| defaultSelected | string | — | |
| accent | string | — | |
| onChange | (format: AIOutputFormat) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.