Casey Baggz
Cerberus Admin
We're thrilled to announce the release of Cerberus v0.22! This update introduces powerful new components that enhance user interactions, along with flexible customization options that make building intuitive interfaces easier than ever.
This release focuses on empowering developers with versatile button components and enhanced form accessibility.
Organize related actions with the new ButtonGroup component. Perfect for creating sets of related buttons that work together as a cohesive unit.
Create seamless button combinations with the attached layout, ideal for primary actions with additional options.
Combine primary actions with dropdown menus using the new SplitButton component. This pattern is perfect when you have a main action users perform frequently, plus related secondary actions.
Improve accessibility compliance with the new hideLabel prop for Field components. Labels remain accessible to screen readers while being visually hidden when the context makes them redundant.
import { Field, Input } from '@cerberus/react'import { Box, VStack } from 'styled-system/jsx'
The CTAModal now supports a flexible content prop that accepts custom JSX, giving you complete control over modal content beyond simple text descriptions.
import { useCTAModal, createCTAModalActions, Field, Input, Textarea } from '@cerberus/react'import { VStack } fromControl avatar visibility in ConfirmModal with the new showAvatar prop, allowing for cleaner interfaces when avatars aren't needed.
import { useConfirmModal } from '@cerberus/react'
function ConfirmWithoutAvatar() { const confirm = useConfirmModal()
const disabled prop would not consistently apply, ensuring reliable disabled states across all usage patterns.To upgrade to Cerberus v0.22.0, run:
We continue to expand the Cerberus ecosystem with a focus on developer experience and component versatility. Coming up:
Thank you for being part of the Cerberus community! These updates are driven by your feedback and real-world usage patterns.
import { SplitButton, MenuItem } from '@cerberus/react'import { Save, Download } from '@carbon/icons-react'
function SplitButtonDemo() { return ( <SplitButton actionText="Copy"> <MenuItem value="save"> <Save size={16} /> Save </MenuItem> <MenuItem value="save_as"> <Save size={16} /> Save As </MenuItem> <MenuItem value="export"> <Download size={16} /> Export </MenuItem> </SplitButton> )}npm run up:cerberuspnpm run up:cerberusdeno run npm:up:cerberusbun run up:cerberus