A soft, neomorphic design language built for calm and focus
Background
--backgroundForeground
--foregroundShadow Light
--shadow-lightShadow Dark
--shadow-darkAccent
--accentAccent Soft
--accent-softAccent Primary
--accent-primaryAccent Border
--accent-borderHeading Font: Comfortaa
Body Font: Nunito
Large body text for emphasis and introductions.
Regular body text for general content and paragraphs.
Small text for secondary information and captions.
Extra small text for metadata and timestamps.
Subtle
--neu-shadow-subtleDefault
--neu-shadowLarge
--neu-shadow-lgInset Small
--neu-shadow-inset-smInset
--neu-shadow-insetSmall
--neu-shadow-smUse one text alignment line for headings, descriptions, labels and the text inside controls. Soft surfaces extend around that line.
A little room to settle in before the next section.
This description follows the same line as the title and fields.
Helper text follows the same alignment.
Leave 48 px below a page heading on desktop and 32 px on mobile. Keep 32 px between the section menu and the focal area.
layout-page-gap · layout-column-gapUse an 18 px text inset, 8 px from a label to its control, and 24 px between field groups. Match descriptions and helper text to the writing line.
layout-reading-rail · layout-form-stackPageHeader, Modal and form cards use the same text line. List rows keep titles and descriptions together; nested goals keep their hierarchy. Input, Select and Textarea include the shared field alignment. Checkbox rows keep copy on the 18 px reading line, with the control on the right, a 16 px gap and 6 px between title and description. Keep decorative icons after the heading so they do not shift the text.
layout-page-header · layout-modal-heading · layout-list-rowUse soft surface for secondary actions and filled buttons for primary actions. The first example shows the default pairing; the other treatments are here for comparison.
Filled for primary actions. Soft surface for secondary actions.
The default secondary treatment, shown on both example buttons.
An alternative with a little more palette color, kept here for reference.
Try hover, press and keyboard focus to compare the treatments.
One soft surface for related choices. Select any combination of days; each segment toggles independently.
Use a single gradient and shadow around the group, gentle separators, and filled selected segments. Arrow keys move focus; Space or Enter toggles a segment.
Keep minutes and weekly frequency on one line. Place an OR divider before the secondary builder button. Use a focused modal with a scrollable week, continuous filled windows, and visible save controls.
Variants
Sizes
With Icons
States
Default neomorphic card with soft shadows
Cards float above the background with dual-tone shadows creating depth.
Inset shadow for a recessed appearance
Pressed cards sink into the background using inset shadows.
With accent border highlight
Accent cards feature a subtle left border that draws attention.
We'll never share your email
This field is required
Please select an option
Supports markdown formatting
Small
Medium
Large
This component provides consistent page headers with optional actions.
Used for tasks, commitments, goals, and other list-based content
Complete project review
Due tomorrow
Weekly team meeting
Completed yesterday
Review documentation
No deadline
Building blocks for loading states
Text lines
Single element
Pre-composed card placeholder
Toasts provide feedback for user actions with auto-dismiss and optional actions
Framer Motion spring physics combined with neomorphic shadow transitions
Button Component
Combines scale animation with shadow transitions
<Button />Card Component
Subtle 1.01x scale on hover
Hover me
<Card hover />How it works:
List items animate in sequence
Smooth mount and unmount transitions
Image colors are adjusted for readable text before the theme is applied. Saved themes are checked again when loaded.
Lowest ratio across checked solid surfaces: 4.5:1 for text, 3:1 for control outlines. Photos, transparency, gradients, and final text size need separate checks.
Upload your own image
Writrospect Design System