Components
JX Components
33 accessible Jaspr components, styled with JX classes and shipped in jx_cli. Every preview on these pages is the real component.
JX CSS and JX Components
| JX CSS | JX Components | |
|---|---|---|
| What | Utility classes compiled to CSS | Ready-made Jaspr components |
| Import |
package:jx_cli/jx_cli.dart
|
package:jx_cli/ui.dart
|
| You write | div(classes: 'p:4 bg:blue-700') | JxButton([.text('Save')]) |
| Styling | Your classes | JX classes inside, plus your `classes` |
The components are built with JX CSS and nothing else: no stylesheet to import, no runtime. Their classes are compiled into your own
jx.css with the rest of your site, so they follow your theme.
Actions
Buttons and links that start something.
Layout
Surfaces, separators and sections that group content.
Pro plan
For teams shipping every week.
Most popularDoes it need JavaScript?
Is it searchable?
<details> and <summary>.
Forms
Labelled controls wired for validation and assistive technology.
Enter a complete email address.
aria-describedby.
Up to 280 characters.
Pick a suggestion or type any city.
<input list> and <datalist>.
Feedback
Status, progress, loading and empty results.
Saved
Your changes are online.Data display
People, hints, keys and tables of data.
Ctrl or K, in a native <kbd>.
| Client | Status | Amount |
|---|---|---|
| Northwind | Paid | $1,240 |
| Globex | Overdue | $860 |
- Revenue
- $48,200
- Increase: +12%
Navigation
Where the user is, and how to move through pages.
- Cart, completed3 items
- ShippingAddress and speed
- Payment
- Review
aria-current="step".
Overlays
Dialogs and panels above the page, without JavaScript.
Not available yet
These components are planned, not shipped. The roadmap explains why each one is missing.