A simple UI framework
npm install aidos-uiAn opinionated React component library. Zero dependencies. Dark mode. Keyboard navigation.
``bash`
npm install aidos-ui
`tsx
import { Providers, lightTheme, darkTheme } from 'aidos-ui/dist';
function App() {
return (
);
}
`
For Next.js SSR, add JSServerStyles to your _document.tsx:
`tsx
import { JSServerStyles } from 'aidos-ui/dist';
Components
Layout:
Row, Column, Box, Card, RootViewText:
Text, H1-H3, P, Label, TextPairingInputs:
TextInput, TextArea, Select, Checkbox, RangeInput, DateInput, DatetimeInput, TimeInputButtons:
Button, IconButton, Link, IconLinkLists:
List, ListItem, ListButtonItem, ListLinkItem, Sublist (with arrow key navigation)Overlays:
Dialog, Dropdown, Popover, TooltipFeedback:
ProgressBar, ProgressCircle, BadgeOther:
Tabs, Calendar, DatePicker, Icon, DarkModeStyling
Components accept a
jss prop for inline styles with automatic class generation:`tsx
|
`Numeric values for dimensional properties (padding, margin, width, etc.) are automatically converted to pixels.
Theming
Customize by passing your own theme objects to
Providers. Themes define CSS variables for colors, spacing, typography, and border radii. See lightTheme and darkTheme in jss.tsx` for the full schema.