Skip to content

UI kit design system ​

crisol-ui-kit is the shared layer under every Crisol surface and can be used by any egui application without the workbench.

  • Foundation: nine themes, density/radius tokens, fonts, localization, and the Material/Lucide icon caches.
  • Components: Button, TextField, Select, Checkbox, Switch, Badge, Card, Label, Separator, SegmentedControl, Stepper, Tabs, Menu, Dialog, Toast, Banner, Popover, StatusBar, and DataGrid.
  • Widgets: the function API the builders compose.
  • Settings: SettingsSchema forms generated from JSON Schema.
  • Accessibility: every interactive control reports a role and label; high contrast is Theme::dark().high_contrast().
toml
[dependencies]
crisol-ui-kit = "1.15"

Components take &mut state and return the change in the same frame; the caller owns the model. Radii and font sizes come from style::get(ctx) and colors from theme::current(ctx).

Released under MIT OR Apache-2.0. Icons: Lucide (ISC) and Material Icon Theme (MIT).