Design system
Rost
Rost started as a design system for my own needs and grew into a product of its own. Today it serves products across different industries.
Rost is the Romanian word for purpose or order, in the sense that something is where it belongs.
How it works
- A contractStepYAML
Each component is one YAML file: its parts, its tokens, every variant, how to use it, and where my apps build it. It's the source. Figma was where it started.
- Code from the contractStepCSS and React
The CSS is written straight from the contract, so nobody types a colour by hand. The React component follows the same parts.
- Checked against FigmaStepVisual test
Each variant of a built component is rendered in Chrome and compared with Figma's own screenshot. A wrong colour or a missing icon fails it. Text edges get a little slack, because Figma and Chrome never draw them quite the same.
Components
All 88 are in code, and every card shows the real thing.
A
B
- 03BadgefeedbackIn code
- 04BannerfeedbackIn code
- 05BarChartdisplayIn code
- 06BreadcrumbnavigationIn code
- 07ButtonactionsIn code
C
- 08CalendarinputsIn code
- 09CardsurfacesIn code
- 10CarouselnavigationIn code
- 11CheckboxselectionIn code
- 12ChipselectionIn code
- 13CodedisplayIn code
- 14ComboboxinputsIn code
- 15CommandnavigationIn code
D
- 16DateFieldinputsIn code
- 17DescriptionListdisplayIn code
- 18DialogsurfacesIn code
- 19DisclosuredisplayIn code
- 20DividerdisplayIn code
- 21DropdownMenuactionsIn code
- 22DropzoneinputsIn code
E
F
H
I
- 28IcondisplayIn code
- 29IconButtonactionsIn code
- 30IllustrationdisplayIn code
- 31InlineBannerfeedbackIn code
- 32InputinputsIn code
K
L
- 34LegenddisplayIn code
- 35LinknavigationIn code
- 36ListItemnavigationIn code
- 37ListRowdisplayIn code
- 38Lock frame effecteffectsIn code
M
N
P
- 43PaginationnavigationIn code
- 44Paper effecteffectsIn code
- 45PopoversurfacesIn code
- 46ProgressfeedbackIn code
- 47ProjectsdisplayIn code
Q
R
S
- 51SearchFieldinputsIn code
- 52SelectinputsIn code
- 53SheetsurfacesIn code
- 54SkeletonfeedbackIn code
- 55SliderinputsIn code
- 56SparklinedisplayIn code
- 57SpinnerfeedbackIn code
- 58StatdisplayIn code
- 59SteppernavigationIn code
- 60SwitchselectionIn code
T
- 61TabledisplayIn code
- 62TabsnavigationIn code
- 63TagdisplayIn code
- 64TestimonialsdisplayIn code
- 65TextdisplayIn code
- 66TextareainputsIn code
- 67Thumb effecteffectsIn code
- 68ThumbsdisplayIn code
- 69TimelinedisplayIn code
- 70ToastfeedbackIn code
- 71ToggleselectionIn code
- 72ToolbaractionsIn code
- 73TooltipfeedbackIn code