Skip to content

Commit

Permalink
docs: add packages section (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
nank1ro authored Oct 30, 2024
1 parent 08aaa3c commit f2cd3d2
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export default defineConfig({
collapsed: false,
},
{ label: 'Typography', link: 'typography' },
{ label: 'Packages', link: 'packages' },
{
label: 'Components',
autogenerate: { directory: 'Components' },
Expand Down
34 changes: 34 additions & 0 deletions docs/src/content/docs/packages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Packages
sidebar:
order: 3
---

## Packages included in the library

Flutter Shadcn UI consists of fantastic open-source libraries that are exported and you can use them without importing them into your project.

### [flutter_animate](https://pub.dev/packages/flutter_animate)

The flutter animate library is a very cool animations library extensively used in Shadcn UI Components.

With flutter_animate animations can be easily customized from the user, because components will take a `List<Effect>`.

### [lucide_icons_flutter](https://pub.dev/packages/lucide_icons_flutter)

A nice icon library that is used in Shadcn UI Components.
You can use Lucide icons with the `LucideIcons` class, for example `LucideIcons.activity`.

You can browse all the icons [here](https://lucide.dev/icons/).

### [two_dimensional_scrollables](https://pub.dev/packages/two_dimensional_scrollables)

A nice raw table (very performant) implementation used by the [ShadTable](./components/table) component.

### [intl](https://pub.dev/packages/intl)

The intl package provides internationalization and localization facilities, including message translation.

### [flutter_svg_plus](https://pub.dev/packages/flutter_svg_plus)

Draw SVG images. Used by the [ShadImage](./components/image) component.
1 change: 1 addition & 0 deletions lib/shadcn_ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ export 'package:flutter_animate/flutter_animate.dart' hide Effect;
export 'package:lucide_icons_flutter/lucide_icons.dart';
export 'package:two_dimensional_scrollables/two_dimensional_scrollables.dart';
export 'package:intl/intl.dart';
export 'package:flutter_svg_plus/flutter_svg.dart';

0 comments on commit f2cd3d2

Please sign in to comment.