Design
Design system used in this site, Haris Studio and Haris Lab .
Design Principles
- A design system is a set of rules and opinions that shape the user interface and the experience as a whole.
- Design principles explain why we make specific decisions; implementation explains how they work in code.
- The Components system takes cues from the tools used to solve math and physics problems: paper, pencils, whiteboards, and pencil cases.
- Heavily inspired by Apple design videos.
- The core of digital services is to adapt to their cognitive load and enable their capabilities
- I care deeply about UX/UI design, with references including Apple , Linear , Raycast , Dub , and Vercel .
- Why is it called "Components"?
- The name makes the purpose of this page clear in navigation.
- Blue, black, gray, and white keep the visual language focused and familiar.
- Distinguish between link and button, link to navigate, button for action.
- Both need clear hover, active, and focus-visible states when those states are relevant.
- A link navigates; a button performs an action. Their visual treatment should reinforce that distinction.
- Prefer the system's basic colors and components to accelerate development while maintaining consistency.
- Components include responsive behavior and keyboard focus treatment where interaction requires it.
- The system is designed for both mobile and desktop web.
- View the component code here
- Explore other variations in the
Radix UI
orHeadless UI
- Still evolving: typography, use cases, do's and don'ts, and component-specific guidance are next.
UI Components
SwitchSwitch.tsx
AccordionAccordion.tsx
CheckboxCheckbox.tsx
PopoverPopover.tsx
Table
| Name | Role | Status |
|---|---|---|
| Ada | Engineer | Active |
| Grace | Designer | Away |
TabsTabs.tsx
Update your profile details and account preferences.
ToastToast.tsx
Button: PrimaryButton.tsx
Button: LoadingButton.tsx
Button: SecondaryButton.tsx
Button: With IconButton.tsx
Button: Only IconButton.tsx
Button: DangerButton.tsx
Button: DisabledButton.tsx
Internal LinkInternalLink.tsx
External LinkExternalLink.tsx
Input: Text
Input: Search
Input: Number
BoxBox.tsx
Title
Content
Text Area
ToggleToggle.tsx
Breadcrumbs
BadgesBadge.tsx
GeneralSuccessDangerAttentionInformation
Back ButtonBackButton.tsx
TooltipTooltip.tsx
Tooltip
Logo
Harits Syahharitssr.com
Haris Labharislab.com
Haris Studioharisstudio.com
ModalDialog.tsx
SelectSelect.tsx
Bottom Navigation MobileBottomBar.tsx
SliderSlider.tsx
Context MenusContextMenu.tsx
Right-click here
Right-click the panel
Date Picker
Main Colors
Success
#34c759
Attention
#eab308
Danger
#ef4444
Action
#0284c7
Black
#27272a
Background
#fff
Hierarchical Colors
white
#fff
zinc-50
#fafafa
zinc-100
#f4f4f5
zinc-200
#e4e4e7
zinc-300
#d4d4d8
zinc-400
#a1a1aa
zinc-500
#6b7280
zinc-600
#52525b
zinc-700
#3f3f46
zinc-800
#27272a
zinc-900
#18181b
black
#000