Putting it into practice
Putting SML into practice means building within its structure. Variables are aligned first, components define the interface, and additions are made when needed. The system allows flexibility, but structure stays intact.
All sizes in Small Medium Large are set in rem and scale responsively.
At a screen width of 1440px, matching the design, 1rem equals 16px. It scales fluidly between 1680px and down to tablet size. At tablet, 1rem settles at 14px. On mobile, it returns to 16px.
This keeps the system consistent across breakpoints while allowing the layout to adapt naturally within each range.
Next, we look at how a build takes shape.
Align Global Variables
Set typography, color, and spacing.
Refine the Stylesheets
Reflect those decisions in the style layer.
Extend Without Breaking
Expand the library with new components and add variants and properties to the existing ones.
Execute with Claude
Give Claude an approved design and let it construct the layout using the existing component.
Build with Components
Compose and refine pages with structured components.
Combine Classes and Components
Use classes where needed, without breaking the component system.