Design
Design system for haritssr.com and harimaki.com.
Principles
- The devil is in the details.
- Show, don’t tell.
- User Interface Principles
- Concise explanations accelerate progress.
- Recognize patterns through repeated observation and reflection.
- Principles explain why; code shows how.
- Digital services should expand what people can do (ability) yet respect limits of attention and working memory (cognitive load).
- Each page should make it clear where users are, what they can do, what sections are available, and how to leave.
- Inspired by Laws of UX, NN/g, Apple’s design principles, Linear, Raycast, Dub, and Vercel.
Design Notes
- Navigation should stay out of the way while browsing, yet be instantly available when needed.
- Strive for a one-line navigation layer on every screen size where possible.
- Hide the bottom tab bar on content pages.
- Use distinct links for navigation and buttons for actions, with clear hover, active, and focus-visible states where relevant.
- Responsive design system: works on phone, tablet, and desktop screen sizes.
- Minimize unexpected layout shifts. Reserve space for images, video, and embeds with intrinsic dimensions or
aspect-ratio. Use loading skeletons that match the final layout and set a responsivemin-heightwhere content size varies. Give late-loading banners and messages a reserved slot so they don’t push visible content down. - Use blue for actions, red for danger, errors, and warnings, green for success, orange for progress.
- Use Oklab or Oklch for perceptually balanced colors and gradients.
- Minimize borders for grouping and separation. Use spacing, color, translucency, or strategically show and hide elements instead.
- Use subtle shadows for emphasis, raising them on hover and lowering them on press. Floating controls sit higher; disabled controls and selects stay flat. Keep keyboard focus visible.
- Every modal should appear instantly, with no animation or transition.
- Define each feature or update clearly so it is easy to share and document.
Layout
grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-5
Breakpoints
Responsive Grid
Components
SectionSection.tsx
Section headingSectionHeading.tsx
Page headerPageHeader.tsx
Page titlePageTitle.tsx
Page descriptionPageDescription.tsx
Explanation listExplanationList.tsx
Article diagramArticleDiagram.tsx
Status pageStatusPage.tsx
BentoBento.tsx
Index CardIndexCard.tsx
TableTable.tsx
SwitchSwitch.tsx
TooltipTooltip.tsx
ModalModal.tsx
ToastToast.tsx
CheckboxCheckbox.tsx
Input: NumberNumberInput.tsx
AccordionAccordion.tsx
SelectSelectField.tsx
Toggle listToggleList.tsx
Task: FloatingFloatingTask.tsx
Floating container shape
Materials
ButtonsButton.tsx
Buttons: PhysicalButton.tsx
Button groupButtonGroup.tsx
Internal LinkInternalLink.tsx
External LinkExternalLink.tsx
Input: TextInput.tsx
Input: Search
BoxBox.tsx
Text Area
BreadcrumbsBreadcrumbs.tsx
BadgesBadge.tsx
HTTP methodsHttpMethodBadge.tsx
Back ButtonBackButton.tsx
LogoLogo.tsx
SliderSlider.tsx
Context MenusContextMenu.tsx
TabsTabs.tsx
Date PickerDatePicker.tsx
ColorsColors.tsx