@nucleux/personality
v0.12.0
Published
Personality — the voice and tone the assistant speaks in — Nucleux agentic UI for React.
Maintainers
Readme
@nucleux/personality
Personality — the voice and tone the assistant speaks in — Nucleux agentic UI for React.
Part of Nucleux — agentic UI components for React. Install a single component, or the full kit via @nucleux/react.
Exports
Personality— thetone-matrix: a radio group of tones with roving focus (arrow keys, Home/End).options(ToneOption:value,label,icon,description),value/defaultValue/onValueChange,label;defaultTonesPersonalityVoiceCard— thevoice-card:quote+tagsPersonalitySampleDialog— thesample-dialog:turns(fromuser/agent,text,fixed) built on Bubble;fixedlines carry a lock and "Same in every personality"
Tone changes how the agent writes, never what it may do: keep permission, caveat and refusal strings outside it.
Install
pnpm add @nucleux/personality @nucleux/tokensreact / react-dom are peer dependencies.
Usage
import { Personality, PersonalityVoiceCard, PersonalitySampleDialog } from "@nucleux/personality";
<PersonalityVoiceCard quote="Here's what I found. Want me to dig in?" tags={["calm", "proactive"]} />
<Personality value={tone} onValueChange={setTone} />Requires the theme once in your app: import "@nucleux/tokens/styles.css";
and the Tailwind preset from @nucleux/tokens/preset.
License
MIT © Nucleux
