# OG UI > Open-source UI components as CSS classes (plus a 3 KB behaviour script and optional React wrappers) that read one theme contract, so the same markup renders in 7 design themes: clean, glass, liquid-glass, neumorphism, clay, brutal, aurora. Set data-og-theme / data-og-mode on (or any element). Components only read --og-* CSS variables. Rules for writing OG UI markup: - Use the og-* classes exactly as documented; don't add your own colours or shadows, read --og-* variables instead. - Call initOgUI() once (from @og-ui/core/og-ui.js) for menus, tabs, sliders, dialogs' data-og-open/close and toasts. - Dialogs are , popovers use the popover attribute, accordions are
, form controls are native inputs. - Give icon buttons an aria-label; give every input a visible label. ## Docs - [Installation](https://ui.ogom.in/docs/installation/): CLI (npx @og-ui/cli), shadcn CLI, npm, React and Next.js - [Theming](https://ui.ogom.in/docs/theming/): the theme contract, every token, writing your own theme - [Full docs in one file](https://ui.ogom.in/llms-full.txt): every component's markup, React usage and keyboard notes ## Actions & display - [Button](https://ui.ogom.in/docs/components/button/): Actions. Default, primary, ghost and danger, in three sizes, plus a square icon button. - [Badge](https://ui.ogom.in/docs/components/badge/): Short status labels and tags, in status colours or the theme’s six palette colours. - [Avatar](https://ui.ogom.in/docs/components/avatar/): A photo or initials in a palette colour, in three sizes, and a stacked group. - [Card](https://ui.ogom.in/docs/components/card/): The raised surface for grouped content, with header, body and footer slots and six palette tints. - [Surface](https://ui.ogom.in/docs/components/surface/): The three materials every theme defines: raised, inset and overlay. Build your own components on them. ## Forms - [Input](https://ui.ogom.in/docs/components/input/): Text fields and textareas with a visible label, hint and invalid state. - [Select](https://ui.ogom.in/docs/components/select/): A styled native