ousi_ui 0.2.0 copy "ousi_ui: ^0.2.0" to clipboard
ousi_ui: ^0.2.0 copied to clipboard

A beautiful, production-ready Flutter UI library with 35+ components, smooth micro-interactions, OKLCH colors, and full dark mode. Inspired by HeroUI.

0.2.0 #

Added #

Charts

  • OChartMarker — visual markers on candles and data points (BUY/SELL/TP/SL pills with dotted guide lines), placed above or below via OChartMarkerPosition. Available through CandlePoint.marker and ChartPoint.marker.
  • Pinch-to-zoom on OChart via zoomEnabled, bounded by minWindowSecs / maxWindowSecs.
  • Horizontal pan to scroll back through historical data.
  • Vertical drag on the chart to adjust the visible value range interactively.
  • rangePadding to control vertical margin as a fraction of the data range (default 0.12; use 0.05 for tight forex data, 0 to fill the full height).

Navigation

  • OAdaptiveSidebarItem.iconWidget / activeIconWidget for custom icon widgets (HugeIcon, SvgPicture, …). icon is now optional — one of icon or iconWidget is required.
  • OAdaptiveSidebar.sidebarBorderRadius to override the panel radius.
  • OBottomNavItem.subTabs (OBottomNavSubTab) — sub-tabs shown in a panel above the bar when the item is selected.
  • OBottomNavItem.badge for notification dots and counts.
  • OBottomNav.borderRadius, activeColor, activeBackgroundColor and inactiveColor.

Other

  • OCalendar.onViewChanged(year, month) — fires when the visible month changes, for lazy-loading month data.
  • OExpandButton.fullWidth to opt out of full-width layout.

Changed #

  • OAdaptiveSidebar transition between sidebar and floating top bar is now a single coordinated animation, with the selection pill measured from real item geometry instead of estimated offsets.
  • OCard content now stretches to the card's full width instead of shrink-wrapping.
  • Glass, frosted and liquid-glass surfaces now honour the configured opacity exactly; the previous per-style minimum clamps were removed, so themes with low opacity render as configured.

Fixed #

  • Chart Y-range no longer collapses on small-magnitude data (forex, low-priced assets); the flat-line fallback now scales with the value instead of using fixed thresholds.

Removed #

  • Unused flutter_staggered_grid_view dependency.

0.1.0 #

Initial release of Ousi UI for Flutter.

Components (35+) #

Buttons: OButton, OExpandButton, OLinkButton

Forms: OTextField, OSearchField, OSelect, OSwitch, OCheckbox, ORadio, OSlider, OInputOTP, OTagGroup, OColorPicker, ODatePicker, OTimePicker

Data Display: OAvatar, OBadge, OSeparator, OSpinner, OAccordion, OAnimatedNumber, OCalendar

Navigation: OTabs, OAdaptiveSidebar, OBottomNav, OAppBar, OAppBarScaffold, OScrollTitle

Overlays: OBottomSheet, OModal, OPopover, OTooltip, OToast, OMenu

Feedback: OAlert, OProgressBar, OSkeleton

Primitives: OCard, OScrollShadow

Charts: OChart (line, multi-series, candlestick)

Features #

  • OKLCH-inspired color system with full dark mode
  • Dual radius system (general + field radius)
  • Theme extension system via OusiThemeData
  • iOS 26-style app bar with floating pill elements
  • Adaptive sidebar (sidebar on wide, floating top bar on narrow)
  • Toast system with stacking, swipe dismiss, and promise API
  • Chart engine with spline interpolation and time windows
  • SearchField with mitosis animation and thinking glow
5
likes
140
points
99
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A beautiful, production-ready Flutter UI library with 35+ components, smooth micro-interactions, OKLCH colors, and full dark mode. Inspired by HeroUI.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#ui #widget #design-system #components #theme

License

MIT (license)

Dependencies

equatable, flutter, flutter_hooks

More

Packages that depend on ousi_ui