{"id":49456119,"url":"https://github.com/wheels-dev/wheels-basecoat","last_synced_at":"2026-04-30T06:02:10.000Z","repository":{"id":353614952,"uuid":"1219361156","full_name":"wheels-dev/wheels-basecoat","owner":"wheels-dev","description":"Basecoat UI component helpers for Wheels. shadcn/ui-quality design using plain HTML + Tailwind CSS. No React required.","archived":false,"fork":false,"pushed_at":"2026-04-24T16:37:24.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-24T18:25:28.796Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://wheels.dev/packages/wheels-basecoat","language":"ColdFusion","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wheels-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-23T19:53:09.000Z","updated_at":"2026-04-24T16:37:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wheels-dev/wheels-basecoat","commit_stats":null,"previous_names":["wheels-dev/wheels-basecoat"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wheels-dev/wheels-basecoat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheels-dev%2Fwheels-basecoat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheels-dev%2Fwheels-basecoat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheels-dev%2Fwheels-basecoat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheels-dev%2Fwheels-basecoat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wheels-dev","download_url":"https://codeload.github.com/wheels-dev/wheels-basecoat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheels-dev%2Fwheels-basecoat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32456167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-30T06:02:08.464Z","updated_at":"2026-04-30T06:02:09.990Z","avatar_url":"https://github.com/wheels-dev.png","language":"ColdFusion","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wheels-basecoat\n\nA Wheels package that ships CFML view helpers for [Basecoat UI](https://basecoatui.com) — shadcn/ui-quality components rendered as plain HTML + Tailwind CSS classes. No React, no build step. Works with or without [wheels-hotwire](../hotwire/README.md).\n\n## Requirements\n\n- Wheels 3.0+\n- Lucee 5+ or Adobe ColdFusion 2018+\n- Basecoat CSS (served from your app — see **Serving Basecoat CSS** below)\n\n## Installation\n\n```bash\n# Activate the package\ncp -r packages/basecoat vendor/basecoat\n\n# Restart or reload your app\nwheels reload\n```\n\nAll `ui*` helpers become available in views and controllers via the package mixin system.\n\n## Configuration\n\nBasecoat has no `set()`-style application settings. Configuration is passed to helpers directly — the only helper with knobs is `basecoatIncludes()`:\n\n```cfml\n#basecoatIncludes(\n    alpine = true,\n    alpineVersion = \"3\",\n    basecoatCSSPath = \"/plugins/basecoat/assets/basecoat/basecoat.min.css\",\n    turboAware = true\n)#\n```\n\n| Argument | Default | Description |\n|---|---|---|\n| `alpine` | `true` | Include the Alpine.js CDN script (needed for dropdowns, dialogs with transitions, tabs). |\n| `alpineVersion` | `\"3\"` | Alpine.js major version. |\n| `basecoatCSSPath` | `\"/plugins/basecoat/assets/basecoat/basecoat.min.css\"` | Path to the Basecoat CSS file your app serves. |\n| `turboAware` | `true` | Emit the `\u003cmeta name=\"turbo-cache-control\" content=\"no-preview\"\u003e` tag — safe default when paired with wheels-hotwire. |\n\n### Serving Basecoat CSS\n\nThis package ships helpers, not CSS assets. Grab `basecoat.min.css` from the [Basecoat UI releases](https://basecoatui.com) and serve it from your app — for example under `public/assets/basecoat.min.css` — then point `basecoatCSSPath` at it.\n\n## Usage\n\n### 1. Include CSS + JS in your layout\n\n```cfm\n\u003c!-- app/views/layout.cfm --\u003e\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n    \u003ctitle\u003eMy App\u003c/title\u003e\n    #basecoatIncludes(basecoatCSSPath=\"/assets/basecoat.min.css\")#\n\u003c/head\u003e\n\u003cbody\u003e\n    #includeContent()#\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n### 2. Render components in views\n\n```cfm\n\u003c!-- Buttons --\u003e\n#uiButton(text=\"Save\", variant=\"primary\")#\n#uiButton(text=\"Cancel\", variant=\"outline\", href=\"/users\")#\n#uiButton(text=\"Delete\", variant=\"destructive\", turboConfirm=\"Are you sure?\")#\n\n\u003c!-- Badges --\u003e\n#uiBadge(text=\"Active\", variant=\"default\")#\n#uiBadge(text=\"Archived\", variant=\"secondary\")#\n\n\u003c!-- Alert --\u003e\n#uiAlert(title=\"Heads up\", description=\"Your trial expires in 3 days.\", variant=\"default\")#\n\n\u003c!-- Card (block component — remember uiCardEnd()) --\u003e\n#uiCard()#\n    #uiCardHeader(title=\"Order ##1234\", description=\"Placed 2 days ago\")#\n    #uiCardContent()#\n        \u003cp\u003eOrder details go here.\u003c/p\u003e\n    #uiCardContentEnd()#\n    #uiCardFooter()#\n        #uiButton(text=\"View\", href=\"/orders/1234\")#\n    #uiCardFooterEnd()#\n#uiCardEnd()#\n\n\u003c!-- Form field (handles label + input + error) --\u003e\n#uiField(label=\"Email\", name=\"user[email]\", type=\"email\", required=true)#\n#uiField(label=\"Bio\", name=\"user[bio]\", type=\"textarea\", rows=4)#\n#uiField(label=\"Role\", name=\"user[role]\", type=\"select\", options=\"admin:Admin,user:User\")#\n```\n\n### 3. Component reference\n\nAll helpers live on `Basecoat.cfc` and are injected into the controller scope via the package mixin system; they surface in views because Wheels views execute in the controller's `variables` scope.\n\n| Category | Helpers |\n|---|---|\n| Includes | `basecoatIncludes` |\n| Buttons \u0026 icons | `uiButton`, `uiBadge`, `uiIcon`, `uiSpinner`, `uiSkeleton`, `uiProgress`, `uiSeparator` |\n| Tooltip | `uiTooltip` / `uiTooltipEnd` |\n| Alert | `uiAlert` |\n| Card | `uiCard` / `uiCardHeader` / `uiCardContent` / `uiCardContentEnd` / `uiCardFooter` / `uiCardFooterEnd` / `uiCardEnd` |\n| Dialog | `uiDialog` / `uiDialogFooter` / `uiDialogEnd` |\n| Forms | `uiField` (text, email, textarea, select, checkbox, switch, …) |\n| Table | `uiTable` / `uiTableHeader` / `uiTableBody` / `uiTableRow` / `uiTableHead` / `uiTableCell` + matching `*End` helpers |\n| Tabs | `uiTabs` / `uiTabList` / `uiTabTrigger` / `uiTabContent` + matching `*End` helpers |\n| Dropdown | `uiDropdown` / `uiDropdownItem` / `uiDropdownSeparator` / `uiDropdownEnd` |\n| Pagination | `uiPagination` |\n| Layout | `uiBreadcrumb` / `uiBreadcrumbItem` / `uiBreadcrumbSeparator` / `uiBreadcrumbEnd`, `uiSidebar` / `uiSidebarSection` / `uiSidebarItem` + matching `*End` helpers |\n\n### Turbo-awareness\n\nBasecoat does not depend on wheels-hotwire, but its helpers are Turbo-friendly:\n\n- `uiButton()` accepts `turboConfirm` and `turboMethod` — emitted as `data-turbo-confirm` / `data-turbo-method` attributes and ignored when Turbo is absent.\n- `uiButton(close=true)` closes the enclosing `\u003cdialog\u003e` via the native `HTMLDialogElement.close()` API — no JS library required.\n- All block components generate markup that renders correctly inside `\u003cturbo-frame\u003e` elements.\n\n## Deactivating\n\n```bash\nrm -rf vendor/basecoat\nwheels reload\n```\n\n## Reference\n\n- `packages/basecoat/CLAUDE.md` — markup reference, naming conventions, component categories\n- `packages/basecoat/.ai/ARCHITECTURE.md` — design principles, phased component inventory\n- [Basecoat UI](https://basecoatui.com) — upstream CSS component library\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwheels-dev%2Fwheels-basecoat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwheels-dev%2Fwheels-basecoat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwheels-dev%2Fwheels-basecoat/lists"}