Eidetic

AI Style Presets

AI
Tuner
Block

Unified style tuning component combining preset styles, saved styles, and voice/tone settings. Configure how AI generates content.

Card Variant

Full card with presets, settings panel, and save functionality

Style Presets

5 presets available

Favorites
Built-in
Custom

Inline Variant

Compact preset pills

Style:

Grid Variant

Two-column grid with category labels

Style Presets

Props

Component API reference

PropTypeDefaultDescription
presets*StylePreset[]Available presets
settings*StyleSetting[]Configurable style settings
activePresetIdstringCurrently active preset ID
variant'card' | 'inline' | 'grid''card'Display variant
onSelectPreset(presetId: string) => voidCallback when preset selected
onSettingChange(settingId: string, value: string) => voidCallback when setting changes
onSavePreset(name: string, settings: Record) => voidCallback to save preset
onDeletePreset(presetId: string) => voidCallback to delete preset
onToggleFavorite(presetId: string) => voidCallback to toggle favorite

Consolidation Note

Covers three AI UX patterns

Consolidated Component

This component consolidates three related AI UX patterns: Preset Styles (default style options), Saved Styles (user-defined presets), and Voice and Tone (output consistency settings) into a single, cohesive component with built-in/custom preset management and per-setting configuration.

Usage

Import and examples

import { AIStylePresets } from '@/blocks/ai-tools/ai-style-presets'
<AIStylePresets
presets={[
{ id: 'casual', name: 'Casual', category: 'tone', settings: { tone: 'casual' }, isBuiltIn: true },
{ id: 'formal', name: 'Formal', category: 'tone', settings: { tone: 'formal' }, isBuiltIn: true },
]}
settings={[
{ id: 'tone', label: 'Tone', category: 'tone', options: ['Casual', 'Formal', 'Academic'] },
]}
activePresetId={activePreset}
onSelectPreset={setActivePreset}
onSavePreset={(name, settings) => savePreset(name, settings)}
/>

Built With

2 components

This block uses the following UI components from the design system:

ButtonBadge

Features

Built-in functionality

Accessibility

Accessibility considerations

ARIA Attributes

Preset buttons are focusableActive preset indicated by ring + color

Keyboard Navigation

KeyAction
TabNavigate between presets and settings
Enter / SpaceSelect preset or toggle setting

Notes

  • Active state communicated via visual ring
  • Favorite state shown via filled star icon

Related Components

AI FiltersAI Persona SelectorAI Model Selector