Skip to main content

ui_storybook/components/primitives/
mod.rs

1//! Foundational primitives — `Button`, `Card`, `Surface`, `Badge`,
2//! `Divider`, `Kbd`, `IconTile`, `IconButton`, `ToggleSwitch`,
3//! `SegmentedControl`, `Slider`, `SelectPill`, `ColorSwatch`, `Meter`.
4//! The most reusable layer; downstream feature components in
5//! [`shell`](super::shell) / [`recorder`](super::recorder) /
6//! [`editor`](super::editor) / [`cursor`](super::cursor) /
7//! [`menus`](super::menus) / [`library`](super::library) consume them.
8
9pub mod badge;
10pub mod button;
11pub mod card;
12pub mod chevron_down;
13pub mod color_swatch;
14pub mod device_icons;
15pub mod divider;
16pub mod icon_button;
17pub mod icon_tile;
18pub mod kbd;
19pub mod meter;
20pub mod nav_icons;
21pub mod segmented_control;
22pub mod select_pill;
23pub mod slider;
24pub mod surface;
25pub mod toggle_switch;
26
27pub use badge::{Badge, BadgeKind};
28pub use button::{Button, ButtonSize, ButtonVariant};
29pub use card::{Card, CardBody, CardHeader};
30pub use chevron_down::ChevronDown;
31pub use color_swatch::ColorSwatch;
32pub use device_icons::{Camera, Mic, Volume2};
33pub use divider::{Divider, DividerOrientation};
34pub use icon_button::{IconButton, IconButtonVariant};
35pub use icon_tile::{IconTile, IconTileKind};
36pub use kbd::Kbd;
37pub use meter::{Meter, lit_segments};
38pub use nav_icons::{CircleDot, Folder, LayoutPanelTop, MousePointer2, Settings};
39pub use segmented_control::{Segment, SegmentedControl};
40pub use select_pill::SelectPill;
41pub use slider::{Slider, slider_percent};
42pub use surface::{Surface, SurfaceKind};
43pub use toggle_switch::ToggleSwitch;