Skip to content
Cynosurev0.5.0
SearchStorybookGitHubnpmColour mode: System. Switch to Light

One small, themeable, accessible interface kit.

React components, Facet icons and a token system that restyles all of it. Built once and used by all my projects: extensions, web apps and sites.

sh
Copy
pnpm add @arshad-shah/cynosure
Latest release0.5.0
Releases on GitHubThe package on npm
  • Badge: leave out the text for a status dot alone in the tone's own colour: with a label it is an image named by it, without one it is decoration hidden from assistive technology.
  • Button: --cy-button-hover-bg and --cy-button-hover-ink tokens set the fill and text colour on hover, for one button whose hover differs from its variant.
  • Button: --cy-button-square-width sets the width of a square (icon-only) button such as an IconButton; it defaults to the height. TitleBar widens its window controls with it.
  • Card: title and description put a header above the content (headingLevel, default 3), sharing its row with actions. New token --cy-card-title-size.
Read the full changelog
Getting started
Theming
Icons
Accessibility
Code editors and highlighters
Using Cynosure without React
Build-tool adapters
Components
Accordion
AppShell
AspectRatio
Breadcrumbs
Calendar
Card
Container
Disclosure
Divider
DocumentViewport
Grid
Inline
PageHeader
PanZoomCanvas
ScrollArea
SideNav
SortableList
SplitPane
Stack
StatusBar
Tabs
TitleBar
Toolbar
Tree
VirtualList
ZoomControls
Announcer
Avatar
Badge
CodeBlock
DescriptionList
EmptyState
ErrorBoundary
Field
Heading
IconTile
Image
Kbd
List
LoadingDots
Notice
ProgressBar
Prose
Skeleton
Stat
Steps
Table
Text
Button
Checkbox
Checklist
ColorField
ColorSwatches
Combobox
CompareSlider
CopyButton
DateField
FileDrop
IconButton
KeyValueEditor
Link
NumberField
Pagination
PathField
RadioGroup
SearchField
SegmentedControl
Select
SelectionFrame
SignaturePad
Slider
Switch
TagInput
TextArea
TextField
ThemeToggle
TimeField
ButtonBase
ChoiceBase
DialogBase
FileInputBase
HiddenValue
Icon
InputBase
LinkBase
LiveRegion
TextAreaBase
ChatMessage
Choice
DataGrid
DeviceFrame
HighlightedText
HotkeyField
ListRow
OptionList
OverlayFrame
QRCode
RowActions
Section
SiteFooter
SiteHeader
SkipLink
SortButton
VisuallyHidden
CommandPalette
ContextMenu
Dialog
FloatingToolbar
HoverCard
Menu
Menubar
Popover
ProgressOverlay
Sheet
Toast
Tooltip
Changelog