December 17, 2024

Release v2

This is the first release of Justd. It includes all the components and utilities that you need to build your next project.

What's New

  • Upgrade to Tailwind v4.
  • With Tailwind v4 adopting OKLCH for colors, we've aligned our format to match.
  • Remove TRAC
  • Redesign every component
  • Remove color accent-subtle, accent-subtle-fg, tertiary, tertiary-fg
  • Add color sidebar, sidebar-fg, navbar, navbar-fg.
  • Add color for charts chart-1, chart-2, chart-3, chart-4, chart-5
  • Calendar and Range Calendar now by default use rounded-lg instead of rounded-full
  • Some existing components, such as Chart, Sidebar, Disclosure, and TagGroup, no longer utilize the Compound Pattern.
  • Add new page Blocks
  • Grid move to Alpha
  • Grid remove Collections
  • cn() now is moved to utils/classes.ts to more consistent with the rest of the components.
  • useMediaQuery now is move to utils/use-media-query.ts
  • Pagination now use segment props instead of variant.
  • Allow visibleDuration to Date Range Picker and Range Calendar
  • Some components rewrite to be better including:
    • Sidebar
    • Disclosure
    • Navbar
    • Button
    • Field

Pages

Several pages have been updated, and there's also a new one.

Blocks

The new Blocks page showcases complex components like sidebars and navbars. If you're interested, you can check it out here.

Default Sidebar

Themes

The Themes page has been improved. It's no longer just a list of themes; instead, it allows you to customize your theme, including options for primary colors, accents, base grays, and default border radius. Explore it here.

--bg
--fg
--primary
--primary-fg
--secondary
--secondary-fg
--accent
--accent-fg
--muted
--muted-fg
--overlay
--overlay-fg
--success
--success-fg
--warning
--warning-fg
--danger
--danger-fg
--border
--input
--ring
--chart-1
--chart-2
--chart-3
--chart-4
--chart-5
--navbar
--navbar-fg
--sidebar
--sidebar-fg

Colors

With Tailwind v4 adopting OKLCH for colors, we've updated our format to align with it. Discover the new colors here.

CLI

The CLI has been updated to support projects using Tailwind v3. It intelligently detects your project type and installs the necessary packages.

Change Log

New Contributors

Full Changelog: https://github.com/irsyadadl/justd/compare/v1.0.0...v2.0.0