|
1 | 1 | # Marquis |
2 | 2 |
|
| 3 | +[](https://jsr.io/@esolia/marquis) |
| 4 | +[](https://marquis-docs.esolia.workers.dev/) |
| 5 | + |
3 | 6 | **Marquis** — eSolia's UI component library. A vanilla TypeScript component library providing |
4 | 7 | polished, professional UI components that work with Tailwind CSS and require no framework. |
5 | 8 |
|
6 | 9 | _The name evokes "marquee" (prominent display) and "marque" (brand mark) — fitting for a library |
7 | 10 | focused on visual presentation and brand consistency._ |
8 | 11 |
|
| 12 | +📚 **Documentation:** [marquis-docs.esolia.workers.dev](https://marquis-docs.esolia.workers.dev/) |
| 13 | + |
9 | 14 | ## Features |
10 | 15 |
|
11 | 16 | - **Framework-agnostic**: Works with vanilla TypeScript, Deno, and any templating system |
@@ -101,31 +106,31 @@ const actions = createActionGroup([ |
101 | 106 |
|
102 | 107 | ## Components |
103 | 108 |
|
104 | | -| Component | Description | |
105 | | -| -------------- | --------------------------------------------------------- | |
106 | | -| **Badge** | Status/label badges with semantic variants | |
107 | | -| **Button** | Buttons with primary, secondary, ghost, danger variants | |
108 | | -| **IconButton** | Square icon buttons for row actions | |
109 | | -| **Card** | Container cards with multiple styles | |
110 | | -| **StatCard** | Dashboard metric display cards | |
111 | | -| **Table** | Table styling utilities | |
112 | | -| **Tabs** | Tab groups with counts and icons | |
113 | | -| **FilterBar** | Filter controls (select, search, buttons) | |
114 | | -| **Dropdown** | CSS-only dropdown menus (no JavaScript required) | |
115 | | -| **Alert** | Contextual feedback messages (info/success/warning/error) | |
116 | | -| **Header** | Application header with nav, language switcher, user menu | |
117 | | -| **Code** | Inline code, code blocks, and keyboard shortcuts (kbd) | |
118 | | -| **Spinner** | Loading indicators with multiple sizes and variants | |
| 109 | +| Component | Description | |
| 110 | +| -------------- | -------------------------------------------------------------------- | |
| 111 | +| **Badge** | Status/label badges with semantic variants | |
| 112 | +| **Button** | Buttons with primary, secondary, ghost, danger variants | |
| 113 | +| **IconButton** | Square icon buttons for row actions | |
| 114 | +| **Card** | Container cards with multiple styles | |
| 115 | +| **StatCard** | Dashboard metric display cards | |
| 116 | +| **Table** | Table styling utilities | |
| 117 | +| **Tabs** | Tab groups with counts and icons | |
| 118 | +| **FilterBar** | Filter controls (select, search, buttons) | |
| 119 | +| **Dropdown** | CSS-only dropdown menus (no JavaScript required) | |
| 120 | +| **Alert** | Contextual feedback messages (info/success/warning/error) | |
| 121 | +| **Header** | Application header with nav, language switcher, user menu | |
| 122 | +| **Code** | Inline code, code blocks, and keyboard shortcuts (kbd) | |
| 123 | +| **Spinner** | Loading indicators with multiple sizes and variants | |
119 | 124 | | **Progress** | Progress bars (linear/circular) with determinate/indeterminate modes | |
120 | | -| **Toggle** | Toggle switches with labels, descriptions, and CSS-only mode | |
121 | | -| **Skeleton** | Loading placeholder animations for content | |
122 | | -| **Avatar** | User avatars with initials fallback and status indicators | |
123 | | -| **Toast** | Non-intrusive notification messages with auto-dismiss | |
| 125 | +| **Toggle** | Toggle switches with labels, descriptions, and CSS-only mode | |
| 126 | +| **Skeleton** | Loading placeholder animations for content | |
| 127 | +| **Avatar** | User avatars with initials fallback and status indicators | |
| 128 | +| **Toast** | Non-intrusive notification messages with auto-dismiss | |
124 | 129 |
|
125 | 130 | ## Server-Side Rendering (CSS-Only Components) |
126 | 131 |
|
127 | | -Some components provide CSS functions for server-rendered HTML where JavaScript interactivity |
128 | | -isn't available. Include these CSS snippets in your page's `<style>` section. |
| 132 | +Some components provide CSS functions for server-rendered HTML where JavaScript interactivity isn't |
| 133 | +available. Include these CSS snippets in your page's `<style>` section. |
129 | 134 |
|
130 | 135 | ### Toggle CSS |
131 | 136 |
|
@@ -156,14 +161,14 @@ The toggle responds to checkbox state via CSS `peer:checked` selectors. |
156 | 161 |
|
157 | 162 | ### Other CSS Functions |
158 | 163 |
|
159 | | -| Function | Component | Purpose | |
160 | | -|----------|-----------|---------| |
161 | | -| `getSpinnerCSS()` | Spinner | Rotation animation | |
162 | | -| `getProgressCSS()` | Progress | Indeterminate animations | |
163 | | -| `getSkeletonCSS()` | Skeleton | Pulse/wave animations | |
164 | | -| `getDropdownCSS()` | Dropdown | Hover/focus visibility | |
165 | | -| `getToastCSS()` | Toast | Slide-in animations | |
166 | | -| `getToggleCSS()` | Toggle | Checkbox-based state | |
| 164 | +| Function | Component | Purpose | |
| 165 | +| ------------------ | --------- | ------------------------ | |
| 166 | +| `getSpinnerCSS()` | Spinner | Rotation animation | |
| 167 | +| `getProgressCSS()` | Progress | Indeterminate animations | |
| 168 | +| `getSkeletonCSS()` | Skeleton | Pulse/wave animations | |
| 169 | +| `getDropdownCSS()` | Dropdown | Hover/focus visibility | |
| 170 | +| `getToastCSS()` | Toast | Slide-in animations | |
| 171 | +| `getToggleCSS()` | Toggle | Checkbox-based state | |
167 | 172 |
|
168 | 173 | ## Design Tokens |
169 | 174 |
|
|
0 commit comments