yew-duskmoon
Duskmoon UI components for Yew applications.
Links
Install
[]
= { = "0.23", = ["csr"] }
= "0.4"
The default full feature enables the feature-gated components: AppHeader, Button, Card, Link, and Typography.
For explicit feature selection:
[]
= { = "0.4", = false, = ["button", "card"] }
CSS
This crate renders Duskmoon CSS class names. Include Duskmoon UI styles in the consuming app.
The repository demo uses Tailwind CSS 4 with @duskmoon-dev/core:
@@//
If your CSS build removes unused classes, make sure it scans your Yew source files and the component sources you use.
Usage
use *;
use ;
Components
Common exports include Accordion, Alert, Appbar, Autocomplete, Avatar, Badge, BottomNavigation, Breadcrumbs, Button, Card, Checkbox, Chip, CodeBlock, DatePicker, Dialog, Drawer, FileUpload, Form, Grid, Input, Link, List, MarkdownBody, Menu, Modal, Pagination, Progress, Radio, Select, Switch, Table, Tabs, Textarea, ThemeController, Toast, Tooltip, TreeSelect, and Typography.
See the demo for the full catalog and component examples.