Terra
A design system by Syahrul Miftah.
Foundations
Color
The warm palette behind Terra: the raw colors, and the tokens that put them to work.
Icons
One clean, rounded icon set for the interface, plus flags and logos for everything else.
Radius
Soft, rounded corners, with one default and very few decisions.
Shadow
Soft shadows, used sparingly, to lift things off the page where color alone isn't enough.
Spacing
One 8px base unit, and a short scale for the space between things.
Typography
One typeface and a small, mobile-first scale in three groups: title, body, and tag.
Components
Action menu
An action menu is a small list of actions that opens when someone taps a button.
Avatar
An avatar is a small picture, set of initials, or icon that stands for a person or an account
Badge
A badge is a small label that shows the status of something, like Overdue, Failed, or Success
Button
Buttons let people take an action, like saving, confirming, or going back.
Checkbox
A checkbox or a radio lets people choose from a list of options. Both share the same layout, sizes, and states
Input
An input lets people type a single line of text, like an email, a phone number, or a password.
Mega input
A row of boxes where each box holds one character. It is mostly used for one-time passcodes (OTP)
Search
A search field is a single-line input where people type what they are looking for
Select
A select lets people choose one option from a list
Tabs
Tabs let people switch between views of the same content, one view at a time.
Text area
A text area lets people type text that runs over more than one line, like a description or a message
Toggle
A toggle switches a setting on or off.
Tooltip
A tooltip is a small box with a short piece of text that appears next to an element when people hover over it or focus on it.