Skip to main content

basic-components

Re-usable server-side components based on shadcn/ui. Built with JinjaX, Alpine.js, and Tailwind CSS, with support for htmx.

Installation & Usage

Quick Start with uvx

JinjaX is required.

# install jinjax
uvx add jinjax

You can use the CLI directly without installing the package.

# Add components
uvx --from basic-components components add button

You will also need to configure your project to load components into the jinjax.Catalog and add a global cn function to the Jinja environment. See utilities.

Helpers for these are packed in the basic-components[utils] package.

Package Installation Options

Install only the utility functions for JinjaX and tailwind.

# With utility functions
pip install basic-components[utils]

Setup instructions and examples:

Installation Groups

  • utils: Utility functions for JinjaX setup and cn() tailwind class helper
  • docs: Requirements for the docs site
  • dev: Development tools for contributing
  • full: All features included

Documentation

Visit https://components.basicmachines.co to view the documentation.

Contributing

Please read the contributing guide.

License

Licensed under the MIT license.

Components

19/48

  • accordion
  • alert
  • alert-dialog
  • aspect-ratio
  • avatar
  • badge
  • breadcrumb
  • button
  • calendar
  • card
  • carousel
  • chart
  • checkbox
  • collapsible
  • command
  • context-menu
  • dialog
  • drawer
  • dropdown-menu
  • form
  • hover-card
  • input-otp
  • input
  • label
  • link
  • menubar
  • navigation-menu
  • pagination
  • popover
  • progress
  • radio-group
  • resizable
  • scroll-area
  • select
  • separator
  • sheet
  • sidebar
  • skeleton
  • slider
  • sonner
  • switch
  • table
  • tabs
  • textarea
  • toast
  • toaster
  • toggle-group
  • toggle
  • tooltip

Extended

  • Prose

Metadata

Release files for basic-components 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for basic-components 0.3.0
File Size Uploaded
basic_components-0.3.0.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for basic-components 0.3.0
File Interpreter ABI Platform
basic_components-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.4 kB

Release files / basic_components-0.3.0.tar.gz

Download URL basic_components-0.3.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
339b0b7cdf58688f95fa9589fcac436ec536bc3ab35d6c43496f30b0399f9810
BLAKE2b-256 checksum
How to use checksums
0ba61eb402441a991670174513f45ffb44f15842086663ddcf507726561ae43d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / basic_components-0.3.0-py3-none-any.whl

Download URL basic_components-0.3.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
592c09927ef0baa385a12e8a285b0fe4e44a830d7a783fe22c1712c53c9421c9
BLAKE2b-256 checksum
How to use checksums
b6cc4819bd1eb3ba5a62a24ea7d7157c2a537ce099166731647bb1e4102a4531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page